LayoutIdFront.fromJson constructor

LayoutIdFront.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LayoutIdFront.fromJson(Map<String, dynamic> json) => LayoutIdFront(
      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"]),
      age:
          json["age"] == null ? null : UniversalIdField.fromJson(json["age"]),
      authority: json["authority"] == null
          ? null
          : UniversalIdField.fromJson(json["authority"]),
      cardAccessNumber: json["cardAccessNumber"] == null
          ? null
          : UniversalIdField.fromJson(json["cardAccessNumber"]),
      citizenship: json["citizenship"] == null
          ? null
          : UniversalIdField.fromJson(json["citizenship"]),
      cityNumber: json["cityNumber"] == null
          ? null
          : UniversalIdField.fromJson(json["cityNumber"]),
      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"]),
      dateOfRegistration: json["dateOfRegistration"] == null
          ? null
          : UniversalIdField.fromJson(json["dateOfRegistration"]),
      divisionNumber: json["divisionNumber"] == null
          ? null
          : UniversalIdField.fromJson(json["divisionNumber"]),
      documentNumber: json["documentNumber"] == null
          ? null
          : UniversalIdField.fromJson(json["documentNumber"]),
      familyName: json["familyName"] == null
          ? null
          : UniversalIdField.fromJson(json["familyName"]),
      fathersName: json["fathersName"] == null
          ? null
          : UniversalIdField.fromJson(json["fathersName"]),
      firstName: json["firstName"] == null
          ? null
          : UniversalIdField.fromJson(json["firstName"]),
      folio: json["folio"] == null
          ? null
          : UniversalIdField.fromJson(json["folio"]),
      fullName: json["fullName"] == null
          ? null
          : UniversalIdField.fromJson(json["fullName"]),
      givenNames: json["givenNames"] == null
          ? null
          : UniversalIdField.fromJson(json["givenNames"]),
      height: json["height"] == null
          ? null
          : UniversalIdField.fromJson(json["height"]),
      lastName: json["lastName"] == null
          ? null
          : UniversalIdField.fromJson(json["lastName"]),
      licenseClass: json["licenseClass"] == null
          ? null
          : UniversalIdField.fromJson(json["licenseClass"]),
      licenseType: json["licenseType"] == null
          ? null
          : UniversalIdField.fromJson(json["licenseType"]),
      municipalityNumber: json["municipalityNumber"] == null
          ? null
          : UniversalIdField.fromJson(json["municipalityNumber"]),
      nationalId: json["nationalId"] == null
          ? null
          : UniversalIdField.fromJson(json["nationalId"]),
      nationality: json["nationality"] == null
          ? null
          : UniversalIdField.fromJson(json["nationality"]),
      parentsGivenName: json["parentsGivenName"] == null
          ? null
          : UniversalIdField.fromJson(json["parentsGivenName"]),
      personalNumber: json["personalNumber"] == null
          ? null
          : UniversalIdField.fromJson(json["personalNumber"]),
      placeAndDateOfBirth: json["placeAndDateOfBirth"] == null
          ? null
          : UniversalIdField.fromJson(json["placeAndDateOfBirth"]),
      placeOfBirth: json["placeOfBirth"] == null
          ? null
          : UniversalIdField.fromJson(json["placeOfBirth"]),
      sex:
          json["sex"] == null ? null : UniversalIdField.fromJson(json["sex"]),
      stateNumber: json["stateNumber"] == null
          ? null
          : UniversalIdField.fromJson(json["stateNumber"]),
      supportNumber: json["supportNumber"] == null
          ? null
          : UniversalIdField.fromJson(json["supportNumber"]),
      surname: json["surname"] == null
          ? null
          : UniversalIdField.fromJson(json["surname"]),
      voterId: json["voterId"] == null
          ? null
          : UniversalIdField.fromJson(json["voterId"]),
    );