Error: The method 'DioHttpHeaders.add' has fewer named arguments than those
Context: This is the overridden method ('add'). void add(String name, Object value,
原因:dio第三方库向前兼容差,之前的方法没见到
解决:升级至最新dio版本
**
Flutter Dart 报错 ‘_InternalLinkedHashMap dynamic, dynamic’ is not a subtype of type’
new Map<String, dynamic>.from(params)
flutter 通过Dio调用接口报错 “is not a subtype of type ‘DioError’”