vin_decoder 0.0.1 copy "vin_decoder: ^0.0.1" to clipboard
vin_decoder: ^0.0.1 copied to clipboard

outdated

A simple Dart library for decoding and validating Vehicle Identification Numbers (VINs) based on ISO 3779:2009 and World Manufacturer Identifiers (WMIs) based on ISO 3780:2009.

example/vin_decoder_example.dart

import 'package:vin_decoder/vin_decoder.dart';

main() {
  var vin = VIN(number: 'WP0ZZZ99ZTS392124');

  print('WMI: ${vin.wmi}');
  print('VDS: ${vin.vds}');
  print('VIS: ${vin.vis}');

  print("Model year is " + vin.modelYear());
  print("Serial number is " + vin.serialNumber());
  print("Assembly plant is " + vin.assemblyPlant());
  print("Manufacturer is " + vin.getManufacturer());
  print("Year is " + vin.getYear().toString());
  print("Region is " + vin.getRegion());
  print("VIN string is " + vin.toString());
}
13
likes
0
pub points
69%
popularity

Publisher

verified publisheradaptant.io

A simple Dart library for decoding and validating Vehicle Identification Numbers (VINs) based on ISO 3779:2009 and World Manufacturer Identifiers (WMIs) based on ISO 3780:2009.

Homepage

License

unknown (license)

Dependencies

meta

More

Packages that depend on vin_decoder