• Vyacheslav Egorov's avatar
    Fix a couple of strong mode issues. (#14070) · 6e38b429
    Vyacheslav Egorov authored
    * 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>;
    6e38b429
image_resolution.dart 10.6 KB