UPlacemark class
An address: street, city, postal code, country… with coordinates.
- Annotations
Constructors
-
UPlacemark({String? name, String? street, String? houseNumber, String? city, String? district, String? state, String? county, String? postalCode, String? country, String? countryCode, double? latitude, double? longitude, List<
String> lines = const <String>[]}) -
const
-
UPlacemark.fromMap(Map<
Object?, Object?> m) -
Reads it from the native map.
factory
Properties
- address → String
-
One-line address.
no setter
- city → String?
-
City.
final
- country → String?
-
Country name.
final
- countryCode → String?
-
ISO country code.
final
- county → String?
-
County.
final
- district → String?
-
District / neighbourhood.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- houseNumber → String?
-
House number.
final
- latitude → double?
-
Latitude.
final
-
lines
→ List<
String> -
The address as the OS formats it, one line each.
final
- longitude → double?
-
Longitude.
final
- name → String?
-
Place name.
final
- postalCode → String?
-
Postal code.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String?
-
Province / state.
final
- street → String?
-
Street.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited