Location class

Constructors

Location({double? latitude, double? longitude, double? accuracy, String? address, String? city, String? country, String? district, String? street, String? province})
Location.fromJson(Map json)
factory

Properties

accuracy double?
精准度 在web端直接返回0
final
address String?
地址
final
city String?
final
country String?
国家
final
district String?
final
hashCode int
The hash code for this object.
no setterinherited
latitude double?
final
longitude double?
final
province String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
street String?
街道
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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