MethodChannelEchoAmap class

An implementation of EchoAmapPlatform that uses method channels.

Inheritance

Constructors

MethodChannelEchoAmap()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateLineDistance(EchoLngAndLat lngAndLat1, EchoLngAndLat lngAndLat2) Future<String?>
@title calculateLineDistance @description TODO 通过系统自带的办法计算经纬度距离 @param: lngAndLat1 @param: lngAndLat2 @return: Future<String?> @updateTime 2023/4/3 18:49 @author LinGuanYu
override
calculateLineDistanceByAmap(EchoLngAndLat lngAndLat1, EchoLngAndLat lngAndLat2) Future<String?>
@title calculateLineDistanceByAmap @description TODO 通过高德地图计算经纬度距离 @param: lngAndLat1 @param: lngAndLat2 @return: Future<String?> @updateTime 2023/4/3 18:50 @author LinGuanYu
override
getCurrentLocation() Future<EchoLngAndLat?>
@title getCurrentLocation @description TODO 通过系统自带的办法获取当前经纬度 @return: Future @updateTime 2023/4/3 18:58 @author LinGuanYu
inherited
getCurrentLocationByAmap() Future<EchoLngAndLat?>
@title getCurrentLocationByAmap @description TODO 通过高德地图获取当前经纬度 @return: Future @updateTime 2023/4/3 18:59 @author LinGuanYu
inherited
getPlatformVersion() Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setApiKey(String key) Future<bool>
@title setApiKey @description TODO 设置对应平台的key @param: key @return: Future
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited