Skip to content

Commit 6668457

Browse files
Fixed compile warnings on platform interface (#214)
1 parent a536428 commit 6668457

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

geocoding_platform_interface/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.2.1
2+
3+
- Fixed analysis warnings from `flutter analyse`.
4+
15
## 3.2.0
26

37
- Adds `isPresent` method to the platform interface.

geocoding_platform_interface/lib/src/models/location.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Location {
2828
final DateTime timestamp;
2929

3030
@override
31-
bool operator ==(dynamic other) =>
31+
bool operator ==(Object other) =>
3232
other is Location &&
3333
other.latitude == latitude &&
3434
other.longitude == longitude &&

geocoding_platform_interface/lib/src/models/placemark.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class Placemark {
6868
final String? subThoroughfare;
6969

7070
@override
71-
bool operator ==(dynamic other) =>
71+
bool operator ==(Object other) =>
7272
other is Placemark &&
7373
other.administrativeArea == administrativeArea &&
7474
other.country == country &&

geocoding_platform_interface/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: A common platform interface for the geocoding plugin.
33
homepage: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_platform_interface
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 3.2.0
6+
version: 3.2.1
77

88
dependencies:
99
flutter:

0 commit comments

Comments
 (0)