mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
* JSON.decode produces Map<String, dynamic> and List<dynamic> objects. If a more tight type is required then object needs to be converted explicitly (see dart-lang/sdk#31876); * Completer<dynamic> produces Future<dynamic>. In Dart 2 it is runtime error to assign Future<dynamic> to variable of type Future<T>;