• Vyacheslav Egorov's avatar
    Fix several Dart 2 issues in the flutter_driver. (#14749) · aa7e9637
    Vyacheslav Egorov authored
    * All lists produced by JSON parsing are List<dynamic>. If more
    speficic type is required then they need to be explicitly cast, e.g.
    using castFrom helper;
    * Function of type (ByText) -> Finder is not a subtype of
    (SerializableFinder) -> Finder because ByText is in the contravariant
    position;
    * In Dart 2 typed(any) should be used instead of any in mockito based
    tests.
    aa7e9637
flutter_driver_test.dart 14.6 KB