TransitTransport class - routing library - Dart API
TransitTransport
TransitTransport class
Holds all the transit transport information.
Constructors
- TransitTransport(TransitMode mode, String? name, String? headsign, String? category, Color? color, Color? textColor)
- Creates a new instance.
Properties
- category ↔ String?
-
Human readable transport category (such as Bus, Gondola, Tram, Train, ...)
getter/setter pair
- color ↔ Color?
-
Color of the transport polyline and background for the transport name.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- headsign ↔ String?
-
Transit line headsign.
getter/setter pair
- mode ↔ TransitMode
-
Transit mode of transport in the route.
getter/setter pair
- name ↔ String?
-
Transit line name.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textColor ↔ Color?
-
Color of the transport name.
getter/setter pair
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.