OsrmResponseCode enum
OsrmResponseCode enum
for the code of the response
Values
- ok → const OsrmResponseCode
-
Request could be processed as expected.
- invalidUrl → const OsrmResponseCode
-
URL string is invalid.
- invalidService → const OsrmResponseCode
-
Service name is invalid.
- invalidVersion → const OsrmResponseCode
-
Version is not found.
- invalidOptions → const OsrmResponseCode
-
Options are invalid.
- invalidQuery → const OsrmResponseCode
-
The query string is synctactically malformed.
- invalidValue → const OsrmResponseCode
-
The successfully parsed query parameters are invalid.
- noSegment → const OsrmResponseCode
-
One of the supplied input coordinates could not snap to street segment.
- tooBig → const OsrmResponseCode
-
The request size violates one of the service specific request size restrictions.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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 -
toString method to get the string from the OsrmResponseCode
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromString(
String code) → OsrmResponseCode - fromString method to get the OsrmResponseCode from a string
Constants
-
values
→ const List<
OsrmResponseCode> - A constant List of the values in this enum, in order of their declaration.