LayoutDrivingLicense.fromJson constructor
LayoutDrivingLicense.fromJson(
- Map<String, dynamic> json
)
Implementation
factory LayoutDrivingLicense.fromJson(Map<String, dynamic> json) =>
LayoutDrivingLicense(
additionalInformation: json["additionalInformation"] == null
? null
: UniversalIdField.fromJson(json["additionalInformation"]),
additionalInformation1: json["additionalInformation1"] == null
? null
: UniversalIdField.fromJson(json["additionalInformation1"]),
address: json["address"] == null
? null
: UniversalIdField.fromJson(json["address"]),
audit: json["audit"] == null
? null
: UniversalIdField.fromJson(json["audit"]),
authority: json["authority"] == null
? null
: UniversalIdField.fromJson(json["authority"]),
cardNumber: json["cardNumber"] == null
? null
: UniversalIdField.fromJson(json["cardNumber"]),
categories: json["categories"] == null
? null
: UniversalIdField.fromJson(json["categories"]),
conditions: json["conditions"] == null
? null
: UniversalIdField.fromJson(json["conditions"]),
dateOfBirth: json["dateOfBirth"] == null
? null
: UniversalIdField.fromJson(json["dateOfBirth"]),
dateOfExpiry: json["dateOfExpiry"] == null
? null
: UniversalIdField.fromJson(json["dateOfExpiry"]),
dateOfIssue: json["dateOfIssue"] == null
? null
: UniversalIdField.fromJson(json["dateOfIssue"]),
documentDiscriminator: json["documentDiscriminator"] == null
? null
: UniversalIdField.fromJson(json["documentDiscriminator"]),
documentNumber: json["documentNumber"] == null
? null
: UniversalIdField.fromJson(json["documentNumber"]),
duplicate: json["duplicate"] == null
? null
: UniversalIdField.fromJson(json["duplicate"]),
duration: json["duration"] == null
? null
: UniversalIdField.fromJson(json["duration"]),
endorsements: json["endorsements"] == null
? null
: UniversalIdField.fromJson(json["endorsements"]),
eyes: json["eyes"] == null
? null
: UniversalIdField.fromJson(json["eyes"]),
firstIssued: json["firstIssued"] == null
? null
: UniversalIdField.fromJson(json["firstIssued"]),
firstName: json["firstName"] == null
? null
: UniversalIdField.fromJson(json["firstName"]),
fullName: json["fullName"] == null
? null
: UniversalIdField.fromJson(json["fullName"]),
givenNames: json["givenNames"] == null
? null
: UniversalIdField.fromJson(json["givenNames"]),
hair: json["hair"] == null
? null
: UniversalIdField.fromJson(json["hair"]),
height: json["height"] == null
? null
: UniversalIdField.fromJson(json["height"]),
lastName: json["lastName"] == null
? null
: UniversalIdField.fromJson(json["lastName"]),
licenceNumber: json["licenceNumber"] == null
? null
: UniversalIdField.fromJson(json["licenceNumber"]),
licenseClass: json["licenseClass"] == null
? null
: UniversalIdField.fromJson(json["licenseClass"]),
licenseNumber: json["licenseNumber"] == null
? null
: UniversalIdField.fromJson(json["licenseNumber"]),
name: json["name"] == null
? null
: UniversalIdField.fromJson(json["name"]),
office: json["office"] == null
? null
: UniversalIdField.fromJson(json["office"]),
parish: json["parish"] == null
? null
: UniversalIdField.fromJson(json["parish"]),
personalNumber: json["personalNumber"] == null
? null
: UniversalIdField.fromJson(json["personalNumber"]),
placeOfBirth: json["placeOfBirth"] == null
? null
: UniversalIdField.fromJson(json["placeOfBirth"]),
previousType: json["previousType"] == null
? null
: UniversalIdField.fromJson(json["previousType"]),
restrictions: json["restrictions"] == null
? null
: UniversalIdField.fromJson(json["restrictions"]),
revoked: json["revoked"] == null
? null
: UniversalIdField.fromJson(json["revoked"]),
sex:
json["sex"] == null ? null : UniversalIdField.fromJson(json["sex"]),
surname: json["surname"] == null
? null
: UniversalIdField.fromJson(json["surname"]),
type: json["type"] == null
? null
: UniversalIdField.fromJson(json["type"]),
version: json["version"] == null
? null
: UniversalIdField.fromJson(json["version"]),
verticalNumber: json["verticalNumber"] == null
? null
: UniversalIdField.fromJson(json["verticalNumber"]),
weight: json["weight"] == null
? null
: UniversalIdField.fromJson(json["weight"]),
);