Skip to content

Commit 35c9c15

Browse files
author
Mark Johnson
committed
fix: operator == takes Object parameter
1 parent 7e67130 commit 35c9c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 ==(dynamic o) {
78+
bool operator ==(Object o) {
7979
var areEqual = o is Position &&
8080
o.accuracy == accuracy &&
8181
o.altitude == altitude &&

0 commit comments

Comments
 (0)