DriverInfo.fromMap constructor
DriverInfo.fromMap(
- Map<String, dynamic> json
)
Implementation
factory DriverInfo.fromMap(Map<String, dynamic> json) {
return DriverInfo(
avenue: json['avenue'],
certificateNumber: json['certificateNumber'],
certificateType: json['certificateType'],
city: json['city'],
countryOfIssue: json['countryOfIssue'],
dateOfBirth: json['dateOfBirth'],
dateOfExpire: json['dateOfExpire'],
dateOfIssue: json['dateOfIssue'],
familyName: json['familyName'],
givenName: json['givenName'],
middleName: json['middleName'],
province: json['province'],
sex: json['sex'],
zipCode: json['zipCode'],
);
}