BarcodeDriverLicense.fromJson constructor

BarcodeDriverLicense.fromJson(
  1. Map json
)

Returns an instance of BarcodeDriverLicense from a given json.

Implementation

factory BarcodeDriverLicense.fromJson(Map<dynamic, dynamic> json) =>
    BarcodeDriverLicense(
      addressCity: json['addressCity'],
      addressState: json['addressState'],
      addressZip: json['addressZip'],
      addressStreet: json['addressStreet'],
      issueDate: json['issueDate'],
      birthDate: json['birthDate'],
      expiryDate: json['expiryDate'],
      gender: json['gender'],
      licenseNumber: json['licenseNumber'],
      firstName: json['firstName'],
      lastName: json['lastName'],
      country: json['country'],
    );