How to to create generic response with wrapper class in dart?

后端 未结 0 1062
终归单人心
终归单人心 2021-01-19 14:14

I am doing an API call which either returns a list of Quotes or error as JSON.

My quote_model.dart:

List quotesFromJson(String str, BaseMo         


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