Placemark class

Contains detailed placemark information.

Annotations

Constructors

Placemark({String? name, String? street, String? isoCountryCode, String? country, String? postalCode, String? administrativeArea, String? subAdministrativeArea, String? locality, String? subLocality, String? thoroughfare, String? subThoroughfare})
Constructs an instance with the given values for testing. Placemark instances constructed this way won't actually reflect any real information from the platform, just whatever was passed in at construction time.

Properties

administrativeArea String?
The name of the state or province associated with the placemark.
final
country String?
The name of the country associated with the placemark.
final
hashCode int
The hash code for this object.
no setteroverride
isoCountryCode String?
The abbreviated country name, according to the two letter (alpha-2) ISO standard.
final
locality String?
The name of the city associated with the placemark.
final
name String?
The name associated with the placemark.
final
postalCode String?
The postal code associated with the placemark.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
street String?
The street associated with the placemark.
final
subAdministrativeArea String?
Additional administrative area information for the placemark.
final
subLocality String?
Additional city-level information for the placemark.
final
subThoroughfare String?
Additional street address information for the placemark.
final
thoroughfare String?
The street address associated with the placemark.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the Placemark instance into a Map instance that can be serialized to JSON.
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic o) bool
The equality operator.
override

Static Methods

fromMap(dynamic message) Placemark
Converts the supplied Map to an instance of the Placemark class.
fromMaps(dynamic message) List<Placemark>
Converts a list of Map instances to a list of Placemark instances.