vehicle library
Pakistani vehicle registration number checks.
Same as the pakdatakit/vehicle entry point of the npm package.
Classes
- VehiclePlate
- Result of parseVehiclePlate.
Functions
-
parseVehiclePlate(
String plate) → VehiclePlate? -
Splits a Pakistani vehicle registration number into its series letters,
number and optional year, e.g.
LEA-1234orABC 123. -
validateVehiclePlate(
String plate) → bool - Validates the format of a vehicle registration number. See parseVehiclePlate.