Fix several Dart 2 issues in the flutter_driver. (#14749)
* 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.
Showing
Please register or sign in to comment