MPRouteStopIconConfig class

A class that creates a route stop icon for the Directions Renderer.

Inheritance
Implemented types

Constructors

MPRouteStopIconConfig({required bool numbered, required String label, required String color})
Creates a new instance of MPRouteStopIconConfig.

Properties

color String
The color for the icon. must be in hex format. eg. #FF0000
final
hashCode int
The hash code for this object.
no setterinherited
label String
The label for the icon.
final
numbered bool
Whether the icon should be numbered.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getImage() Uri
INTERAL
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
INTERAL - This encoding should only be used to create a URI for the image.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited