Vehicle class final

A registered vehicle, from RDW's dataset of registered vehicles (m9d7-ebf2).

Values RDW does not have are null. Text such as vehicleType and primaryColor is in Dutch, as RDW writes it. Each field's documentation names the RDW field it comes from.

Constructors

Vehicle.fromRdw(Map<String, Object?> json, {List<Fuel>? fuels, List<Recall>? recalls})
Reads a record from RDW's dataset of registered vehicles.
factory

Properties

apkExpiry → DateTime?
When the current APK (periodic inspection) expires (vervaldatum_apk).
final
bodyStyle → String?
The body style, such as MPV or hatchback (inrichting).
final
canBeRegistered → bool?
Whether the vehicle can be registered to a new holder (tenaamstellen_mogelijk).
final
catalogPrice → int?
List price in euros when new (catalogusprijs).
final
cylinders → int?
Number of cylinders (aantal_cilinders).
final
doors → int?
Number of doors (aantal_deuren).
final
energyLabel → String?
The energy label, A to G (zuinigheidsclassificatie).
final
engineDisplacement → int?
Engine displacement in cm³ (cilinderinhoud).
final
euCategory → String?
The EU vehicle category, such as M1 (europese_voertuigcategorie).
final
exported → bool
Whether the vehicle has been exported (export_indicator).
final
firstAdmission → DateTime?
When the vehicle was first admitted to the road anywhere (datum_eerste_toelating).
final
firstRegisteredInNetherlands → DateTime?
When the vehicle was first registered in the Netherlands (datum_eerste_tenaamstelling_in_nederland).
final
fuels → List<Fuel>?
The fuels, in RDW's order; null unless they were fetched.
final
grossBpm → int?
Gross BPM (registration tax) in euros (bruto_bpm).
final
hashCode → int
The hash code for this object.
no setterinherited
hasOpenRecall → bool
Whether a recall is still open for the vehicle (openstaande_terugroepactie_indicator).
final
insured → bool?
Whether the vehicle has third-party insurance; null where it does not apply (wam_verzekerd).
final
isTaxi → bool
Whether the vehicle is registered as a taxi (taxi_indicator).
final
make → String
The make, such as OPEL (merk).
final
mass → VehicleMass
The masses of the vehicle.
final
model → String?
The model name, such as CORSA (handelsbenaming).
final
odometer → OdometerVerdict?
RDW's verdict on the odometer readings (tellerstandoordeel).
final
odometerLastRegisteredYear → int?
The last year an odometer reading was registered (jaar_laatste_registratie_tellerstand).
final
plate → LicensePlate
The licence plate (kenteken).
final
powerToMassRatio → double?
Power in kW per kg ready-to-drive mass (vermogen_massarijklaar).
final
primaryColor → String?
The main colour, such as ZWART (eerste_kleur).
final
raw → Map<String, Object?>
The record as RDW sent it, for fields this class does not read.
final
recalls → List<Recall>?
The recalls that apply; null unless they were fetched.
final
registeredSince → DateTime?
When the vehicle was registered to its current holder (datum_tenaamstelling).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seats → int?
Number of seats (aantal_zitplaatsen).
final
secondaryColor → String?
The second colour, if one is registered (tweede_kleur).
final
typeApprovalNumber → String?
The EU type approval number (typegoedkeuringsnummer).
final
variant → String?
The type approval variant (variant).
final
vehicleType → String
The kind of vehicle, such as Personenauto or Bedrijfsauto (voertuigsoort).
final
version → String?
The type approval version (uitvoering).
final
wheelbase → int?
Wheelbase in cm (wielbasis).
final
wheels → int?
Number of wheels (aantal_wielen).
final

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.
inherited