VehicleRegistration class
Vehicle registration information.
Base class that holds vehicle registration details used by routing and transport-related preferences. Subclasses such as MotorVehicleProfile and ElectricBikeProfile extend this to provide additional routing parameters.
See also:
- MotorVehicleProfile - Adds motor-vehicle specific routing fields.
- ElectricBikeProfile - Electric bike routing profile with energy settings.
- Implementers
Constructors
- VehicleRegistration({required String plateNumber})
- Creates a registration record containing the vehicle's plate number.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- plateNumber ↔ String
-
Vehicle plate number.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 ==(
covariant VehicleRegistration other) → bool -
The equality operator.
override