GeoLookupService class

地理位置查询服务,用于根据地址获取经纬度信息

Constructors

GeoLookupService.new()
构造函数,初始化Dio实例

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

lookupAddress(String address) Future<GeoLocation?>
查询地址获取地理位置信息 address 要查询的地址 返回地理位置信息,如果未找到则返回null
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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