toJson method
Implementation
Map<String, dynamic> toJson() => {
"additionalInformation": additionalInformation?.toJson(),
"additionalInformation1": additionalInformation1?.toJson(),
"address": address?.toJson(),
"age": age?.toJson(),
"authority": authority?.toJson(),
"cardAccessNumber": cardAccessNumber?.toJson(),
"citizenship": citizenship?.toJson(),
"cityNumber": cityNumber?.toJson(),
"dateOfBirth": dateOfBirth?.toJson(),
"dateOfExpiry": dateOfExpiry?.toJson(),
"dateOfIssue": dateOfIssue?.toJson(),
"dateOfRegistration": dateOfRegistration?.toJson(),
"divisionNumber": divisionNumber?.toJson(),
"documentNumber": documentNumber?.toJson(),
"familyName": familyName?.toJson(),
"fathersName": fathersName?.toJson(),
"firstName": firstName?.toJson(),
"folio": folio?.toJson(),
"fullName": fullName?.toJson(),
"givenNames": givenNames?.toJson(),
"height": height?.toJson(),
"lastName": lastName?.toJson(),
"licenseClass": licenseClass?.toJson(),
"licenseType": licenseType?.toJson(),
"municipalityNumber": municipalityNumber?.toJson(),
"nationalId": nationalId?.toJson(),
"nationality": nationality?.toJson(),
"parentsGivenName": parentsGivenName?.toJson(),
"personalNumber": personalNumber?.toJson(),
"placeAndDateOfBirth": placeAndDateOfBirth?.toJson(),
"placeOfBirth": placeOfBirth?.toJson(),
"sex": sex?.toJson(),
"stateNumber": stateNumber?.toJson(),
"supportNumber": supportNumber?.toJson(),
"surname": surname?.toJson(),
"voterId": voterId?.toJson(),
};