提交 61b2e0b5 authored 作者: 史晓晨's avatar 史晓晨

feat:适配3.38+

上级 d7470675
......@@ -44,7 +44,7 @@ class AMapApiKey {
}
@override
int get hashCode => hashValues(androidKey, iosKey);
int get hashCode => Object.hash(androidKey, iosKey);
@override
String toString() {
......
......@@ -47,7 +47,7 @@ class AMapPrivacyStatement {
}
@override
int get hashCode => hashValues(hasContains, hasShow, hasAgree);
int get hashCode => Object.hash(hasContains, hasShow, hasAgree);
@override
String toString() {
......
......@@ -109,7 +109,7 @@ class AMapLocation {
@override
int get hashCode =>
hashValues(provider, latLng, accuracy, altitude, bearing, speed, time);
Object.hash(provider, latLng, accuracy, altitude, bearing, speed, time);
}
/// 经纬度坐标对象, 单位为度.
......@@ -151,7 +151,7 @@ class LatLng {
}
@override
int get hashCode => hashValues(latitude, longitude);
int get hashCode => Object.hash(latitude, longitude);
}
/// 经纬度对齐的矩形.
......@@ -226,5 +226,5 @@ class LatLngBounds {
}
@override
int get hashCode => hashValues(southwest, northeast);
int get hashCode => Object.hash(southwest, northeast);
}
......@@ -4,7 +4,7 @@ version: 3.0.0
homepage: https://lbs.amap.com/
environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.14.0 <4.0.0"
flutter: ">=1.20.0"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论