Geocode class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Geocode.new({String? formattedAddress, String? country, String? province, String? cityCode, String? city, String? district, Neighborhood? neighborhood, Building? building, String? adcode, String? street, String? number, LatLng? location, String? level})
const
Geocode.fromJson(Map<String, dynamic> json)
factory

Properties

adcode String?
final
building → Building?
final
city String?
final
cityCode String?
final
country String?
final
district String?
final
formattedAddress String?
final
hashCode int
The hash code for this object.
no setterinherited
level String?
final
location → LatLng?
final
neighborhood → Neighborhood?
final
number String?
final
province String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
street String?
final

Methods

copyWith({String? formattedAddress, String? country, String? province, String? cityCode, String? city, String? district, Neighborhood? neighborhood, Building? building, String? adcode, String? street, String? number, LatLng? location, String? level}) Geocode
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

Static Methods

nullableListFromJson(dynamic value) List<Geocode>?