diff --git a/geolocator/CHANGELOG.md b/geolocator/CHANGELOG.md index a2480c76..5eb5096c 100644 --- a/geolocator/CHANGELOG.md +++ b/geolocator/CHANGELOG.md @@ -1,3 +1,7 @@ +## 7.0.2 + +- Resolved analyzer error when using mockito (see issue [#709](https://github.com/Baseflow/flutter-geolocator/issues/709)). + ## 7.0.1 - Resolved bug when requesting permissions for the web (see issue [#673](https://github.com/Baseflow/flutter-geolocator/issues/673)). diff --git a/geolocator/pubspec.yaml b/geolocator/pubspec.yaml index fecfe0b2..9272cb84 100644 --- a/geolocator/pubspec.yaml +++ b/geolocator/pubspec.yaml @@ -1,6 +1,6 @@ name: geolocator description: Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions. -version: 7.0.1 +version: 7.0.2 homepage: https://github.com/Baseflow/flutter-geolocator/tree/master/geolocator environment: diff --git a/geolocator_platform_interface/lib/src/models/position.dart b/geolocator_platform_interface/lib/src/models/position.dart index 319e8e8b..5b8a6fd6 100644 --- a/geolocator_platform_interface/lib/src/models/position.dart +++ b/geolocator_platform_interface/lib/src/models/position.dart @@ -75,7 +75,7 @@ class Position { final bool isMocked; @override - bool operator ==(dynamic o) { + bool operator ==(Object o) { var areEqual = o is Position && o.accuracy == accuracy && o.altitude == altitude &&