OsrmAnnotation enum

OsrmAnnotation enum for the annotation parameter the underscore is added because the name true and false are reserved for dart see: https://dart.dev/guides/language/language-tour#keywords when you get Enum.name it will return the correct name without the underscore

Inheritance
Available extensions

Values

true_ → const OsrmAnnotation

true_ to return annotations

false_ → const OsrmAnnotation

false_ to not return annotations

duration → const OsrmAnnotation

duration to return annotations for duration

nodes → const OsrmAnnotation

nodes to return annotations for nodes

distance → const OsrmAnnotation

distance to return annotations for distance

weight → const OsrmAnnotation

weight to return annotations for weight

datasources → const OsrmAnnotation

datasources to return annotations for datasources

speed → const OsrmAnnotation

speed to return annotations for speed

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
name override
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

fromString(String annotation) OsrmAnnotation
fromString method to get the OsrmAnnotation from a string

Constants

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