flutter riverpod: how to test asyncvalue.error?

前端 未结 0 785
予麋鹿
予麋鹿 2021-01-04 04:23

I am having trouble testing my Riverpod FutureProvider when it returns an AsyncValue.error.

I tried the test as shown below:

// Future provider  
final         


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