Flutter中第三方网络请求库http https://github.com/zeke123/http pubspec.yaml dependencies: http: ^0.12.0+2 import 'package:http/http.dart' as http; Flutter中Map与json字符串相互转换 Map mapType = {username: 王五, age: 25}; //Map转换为json字符串 var stringType = json.encode(mapType); print(mapType is M