OsmLocation class

Location as expected from OSM.

Constructors

OsmLocation({required int osmId, required LocationOSMType osmType, required double longitude, required double latitude, String? name, String? street, String? city, String? postcode, String? country, String? countryCode, String? osmKey, String? osmValue})
const
OsmLocation.fromPrice(Location location)

Properties

city → String?
final
country → String?
final
countryCode → String?
final
hashCode → int
The hash code for this object.
no setterinherited
latitude → double
final
longitude → double
final
name → String?
final
osmId → int
final
osmKey → String?
final
osmType → LocationOSMType
final
osmValue → String?
final
postcode → String?
final
primaryKey → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
street → String?
final

Methods

getLatLng() → LatLng
getSubtitle() → String?
Returns a typical ListTile subtitle text, or null if empty.
getTitle() → String?
Returns a typical ListTile title text, or null if empty.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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