VehicleRestrictionMaxWeight class

VehicleRestrictionMaxWeight contains max permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction.

Constructors

VehicleRestrictionMaxWeight(int valueInKilograms, VehicleRestrictionMaxWeightType type)
Created a new instance.

Properties

hashCode → int
The hash code for this object.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type VehicleRestrictionMaxWeightType
Represents the specific type of the maximum permitted weight restriction.
getter/setter pair
valueInKilograms ↔ int
Max permitted weight during the trip, in kilograms.
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.