A value of type 'Resut' can't be returned from function'fetchPromotions' because it has a return type of Future>

后端 未结 0 1333
傲寒
傲寒 2021-02-02 02:10

I am fetching some data from an API, which returns a Json array, promotions_model.dart does all the parsing, but this error is showing up.

Error-- A value of type \'Resul

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