我有这样一行代码:
final queryString = Uri(queryParameters: queryParameters).query;
报错:
Flutter:type 'int' is not a subtype of type 'Iterable'
问题出在提供的 queryParameters ,其中一个项目的值是 int,把这个值改成 String 就可以了。