Flutter throws TimeoutException despite having try/catch while getting data from API

前端 未结 0 1181
礼貌的吻别
礼貌的吻别 2021-01-16 19:19

I have the following code to get data from API using Dio:

_fetchData() async {
try {
  Dio dio = new Dio();

  list.clear();
  final response = a         


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