drivers_license_parser 1.2.2 drivers_license_parser: ^1.2.2 copied to clipboard
This package provides a simple and effective utility for parsing barcodes displayed on the back of drivers license cards issued in the United States and Canada.
example/drivers_license_parser_example.dart
import 'package:drivers_license_parser/drivers_license_parser.dart';
void main() {
final exampleLicenseData = '''@
ANSI 636025100002DL00410275ZP03160027DLDAQ34575263
DCSCASTILLO DIAZ
DDEN
DACOMAR
DDFN
DADNONE
DDGN
DCAC
DCBNONE
DCDNONE
DBD01102023
DBB12142000
DBA12152026
DBC1
DAU068 IN
DAYBLK
DAG6044 SHISLER ST
DAIPHILADELPHIA
DAJPA
DAK191490000
DCF2301001100901000000007683
DCGUSA
DCK0250183550422332
DDAN
DDB03252022
DDK1
ZPZPA
ZPB00
ZPC076
ZPDNONE
''';
final license = LicenseParser.parse(exampleLicenseData);
print(license);
}