Placemark class
Contains detailed placemark information.
- Annotations
-
- @immutable
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.
const
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 other) → bool -
The equality operator.
override