Way class

An immutable container for all data associated with a single way or area (closed way).

Constructors

Way(int layer, List<Tag> tags, List<List<ILatLong>> latLongs, ILatLong? labelPosition)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
labelPosition ILatLong?
The position of the area label (may be null).
final
latLongs List<List<ILatLong>>
The geographical coordinates of the way nodes.
final
layer int
The layer of this way + 5 (to avoid negative values).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<Tag>
The tags of this way.
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.
override