MrzResult constructor

MrzResult({
  1. String? type,
  2. String? nationality,
  3. String? surname,
  4. String? givenName,
  5. String? docNumber,
  6. String? issuingCountry,
  7. String? birthDate,
  8. String? gender,
  9. String? expiration,
  10. String? lines,
})

Implementation

MrzResult(
    {String? type,
    String? nationality,
    String? surname,
    String? givenName,
    String? docNumber,
    String? issuingCountry,
    String? birthDate,
    String? gender,
    String? expiration,
    String? lines})
    : this.type = type ?? 'N/A',
      this.nationality = nationality ?? 'N/A',
      this.surname = surname ?? 'N/A',
      this.givenName = givenName ?? 'N/A',
      this.docNumber = docNumber ?? 'N/A',
      this.issuingCountry = issuingCountry ?? 'N/A',
      this.birthDate = birthDate ?? 'N/A',
      this.gender = gender ?? 'N/A',
      this.expiration = expiration ?? 'N/A',
      this.lines = lines ?? 'N/A';