VehicleType class
- Annotations
-
- @JsonSerializable()
Constructors
- VehicleType.new({required String name, required String type, required String icon, required String localIcon})
-
VehicleType.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
isType(
String type) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- bus → const String
- cableCar → const String
- commuterTrain → const String
- ferry → const String
- funicular → const String
- gondolaLift → const String
- heavyRail → const String
- highSpeedTrain → const String
- intercityBus → const String
- metroRail → const String
- monorail → const String
- other → const String
- rail → const String
- subway → const String
- tram → const String
- trolleyBus → const String