How can I define a return type of a lambda function in Dart?

后端 未结 0 403
时光说笑
时光说笑 2021-02-09 09:34

I try to create a repository with type safe parameters. For this, I created the function parameter as a typedef and use the Dartz package, to be able to return either a failure

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