OsmLocationKind enum

What an OsmLocation is, from its OSM tag (OsmLocation.osmKey and OsmLocation.osmValue), e.g. shop=supermarket.

OsmLocation.osmType cannot be used: it is the kind of OSM element (node, way or relation), not the kind of place.

Inheritance
Available extensions

Values

supermarket → const OsmLocationKind
const OsmLocationKind(<String>['shop:supermarket', 'shop:wholesale'])
convenience → const OsmLocationKind
const OsmLocationKind(<String>['shop:convenience', 'shop:general', 'shop:kiosk'])
mall → const OsmLocationKind
const OsmLocationKind(<String>['shop:mall', 'shop:department_store'])
bakery → const OsmLocationKind
const OsmLocationKind(<String>['shop:bakery', 'shop:pastry', 'shop:confectionery'])
butcher → const OsmLocationKind
const OsmLocationKind(<String>['shop:butcher'])
seafood → const OsmLocationKind
const OsmLocationKind(<String>['shop:seafood'])
greengrocer → const OsmLocationKind
const OsmLocationKind(<String>['shop:greengrocer'])
dairy → const OsmLocationKind
const OsmLocationKind(<String>['shop:dairy', 'shop:cheese'])
organic → const OsmLocationKind
const OsmLocationKind(<String>['shop:organic', 'shop:health_food'])
farm → const OsmLocationKind
const OsmLocationKind(<String>['shop:farm'])
gardenCentre → const OsmLocationKind
const OsmLocationKind(<String>['shop:garden_centre'])
restaurant → const OsmLocationKind
const OsmLocationKind(<String>['amenity:restaurant', 'amenity:fast_food'])
shop → const OsmLocationKind

Any other shop.

const OsmLocationKind(<String>['shop'])
place → const OsmLocationKind
const OsmLocationKind(<String>['place'])
street → const OsmLocationKind
const OsmLocationKind(<String>['highway'])
unknown → const OsmLocationKind
const OsmLocationKind(<String>[])

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → Widget
no setter
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

of(OsmLocation location) → OsmLocationKind

Constants

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