TruckProfile class
Truck routing profile
- Inheritance
-
- Object
- MotorVehicleProfile
- TruckProfile
Constructors
Properties
- axleLoad ↔ int
-
Truck axle load in kg. By default it is 0 and is not considered in routing
getter/setter pair
- fuel ↔ FuelType
-
Engine fuel type. Default is petrol
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- height ↔ int
-
Truck height in cm. By default it is 0 and is not considered in routing
getter/setter pair
- length ↔ int
-
Truck length in cm. By default it is 0 and is not considered in routing
getter/setter pair
- mass ↔ int
-
Vehicle mass in kg. By default it is 0 and is not considered in routing
getter/setter pairinherited
- maxSpeed ↔ double
-
Vehicle max speed in m/s. By default it is 0 and is not considered in routing
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width ↔ int
-
Truck width in cm. By default it is 0 and is not considered in routing
getter/setter pair
Methods
-
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 ==(
covariant TruckProfile other) → bool -
The equality operator.
override