LocationOSMType enum

Type of the OpenStreetMap location object.

Stores can be represented as nodes, ways or relations in OpenStreetMap. It is necessary to be able to fetch the correct information about the store using the ID.

Inheritance
Implemented types

Constructors

LocationOSMType({required String offTag})
const

Values

node → const LocationOSMType
LocationOSMType(offTag: 'NODE')
way → const LocationOSMType
LocationOSMType(offTag: 'WAY')
relation → const LocationOSMType
LocationOSMType(offTag: 'RELATION')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
offTag String
Identifying tag used in the rest of OFF.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

fromOffTag(String? offTag) LocationOSMType?
Returns the first LocationOSMType that matches the offTag.
override

Constants

values → const List<LocationOSMType>
A constant List of the values in this enum, in order of their declaration.