Is there any difference between just returning a value and by using Future.value(); in Dart?

前端 未结 0 571
太阳男子
太阳男子 2021-01-02 05:40

For example, is there any difference between those two code snippets? In dartpad, they return the same thing at the same time.

Does the function itself infer the retu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题