OsrmBannerInstructions class
OsrmBannerInstructions class for banner instructions
Constructors
- OsrmBannerInstructions({num? distanceAlongGeometry, String? primary, String? secondary, String? sub, String? imageBaseUrl, String? type, String? modifier, num? degrees})
-
OsrmBannerInstructions.fromMap(Map<
String, dynamic> json) -
fromMap method to get the OsrmBannerInstructions from a json map
factory
Properties
- degrees → num?
-
degrees A float indicating the degrees of rotation of a rotary. Only available for the type
rotary
.final - distanceAlongGeometry → num?
-
distanceAlongGeometry A float indicating the distance from the beginning of the step at which the voice instruction should be said.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageBaseUrl → String?
-
imageBaseUrl A string with the base URL for the shield images.
final
- modifier → String?
-
modifier An optional string indicating the direction change of the maneuver.
final
- primary → String?
-
primary A string with the banner instruction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondary → String?
-
secondary A string with the secondary banner instruction.
final
- sub → String?
-
sub A string with the sub banner instruction.
final
- type → String?
-
type A string indicating the type of maneuver.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toMap method to get the OsrmBannerInstructions as a json map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited