Skip to content

Commit cebaa8c

Browse files
authored
Revert "fix: operator == takes Object parameter"
1 parent 4011af5 commit cebaa8c

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

geolocator/CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
## 7.0.2
2-
3-
- Resolved analyzer error when using mockito (see issue [#709](https://github.com/Baseflow/flutter-geolocator/issues/709)).
4-
51
## 7.0.1
62

73
- Resolved bug when requesting permissions for the web (see issue [#673](https://github.com/Baseflow/flutter-geolocator/issues/673)).

geolocator/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: geolocator
22
description: Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions.
3-
version: 7.0.2
3+
version: 7.0.1
44
homepage: https://github.com/Baseflow/flutter-geolocator/tree/master/geolocator
55

66
environment:

geolocator_platform_interface/lib/src/models/position.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Position {
7575
final bool isMocked;
7676

7777
@override
78-
bool operator ==(Object o) {
78+
bool operator ==(dynamic o) {
7979
var areEqual = o is Position &&
8080
o.accuracy == accuracy &&
8181
o.altitude == altitude &&

0 commit comments

Comments
 (0)