DirectionsTransitLine class abstract
DirectionsTransitLine
Properties:
- agencies - The transit agency (or agencies) that operates this transit line.
- name - The full name of this transit line, e.g. "8 Avenue Local".
- color - The color commonly used in signage for this line.
- shortName - The short name of this transit line. This will normally be a line number, such as "M7" or "355".
- textColor - The color commonly used in signage for this line.
- url - Contains the URL for this transit line as provided by the transit agency.
- icon - Contains the URL for the icon associated with this line.
- vehicle
Constructors
- DirectionsTransitLine([void updates(DirectionsTransitLineBuilder b)])
-
factory
Properties
-
agencies
→ BuiltList<
DirectionsTransitAgency> -
The transit agency (or agencies) that operates this transit line.
no setter
- color → String?
-
The color commonly used in signage for this line.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
Contains the URL for the icon associated with this line.
no setter
- name → String
-
The full name of this transit line, e.g. "8 Avenue Local".
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortName → String?
-
The short name of this transit line. This will normally be a line number, such as "M7" or "355".
no setter
- textColor → String?
-
The color commonly used in signage for this line.
no setter
- url → String?
-
Contains the URL for this transit line as provided by the transit agency.
no setter
- vehicle → DirectionsTransitVehicle?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(DirectionsTransitLineBuilder)) → DirectionsTransitLine -
Rebuilds the instance.
inherited
-
toBuilder(
) → DirectionsTransitLineBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
DirectionsTransitLine> -
no setter