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
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
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.