MrzResult class

Represents data extracted from MRZ (Machine Readable Zone) of Machine Readable Travel Document (MRTD).

Constructors

MrzResult(Map<String, dynamic> nativeMRZResult)

Properties

age int?
The current age of the document owner in years. It is calculated difference between now and date of birth. Now is current time on the device. @return current age of the document owner in years or -1 if date of birth is unknown.
getter/setter pair
alienNumber String?
The alien number. Contains empty string if not available. Exists only on US Green Cards. To see which document was scanned use the documentType property.
getter/setter pair
applicationReceiptNumber String?
The application receipt number. Contains empty string if not available. Exists only on US Green Cards. To see which document was scanned use the documentType property.
getter/setter pair
dateOfBirth Date?
Holder's date of birth
getter/setter pair
dateOfExpiry Date?
The date of expiry
getter/setter pair
documentCode String?
The document code. Document code contains two characters. For MRTD the first character shall be A, C or I. The second character shall be discretion of the issuing State or organization except that V shall not be used, and C shall not be used after A except in the crew member certificate. On machine-readable passports (MRP) first character shall be P to designate an MRP. One additional letter may be used, at the discretion of the issuing State or organization, to designate a particular MRP. If the second character position is not used for this purpose, it shall be filled by the filter character <.
getter/setter pair
documentNumber String?
The document number. Document number contains up to 9 characters. Element does not exist on US Green Card. To see which document was scanned use documentType property.
getter/setter pair
documentType MrtdDocumentType?
Type of recognized document. It is always one of the values represented by BlinkIDScanner.MRTDDocumentType
getter/setter pair
gender String?
The gender of the card holder. Gender is specified by use of the single initial, capital letter F for female, M for male or < for unspecified.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
immigrantCaseNumber String?
The immigrant case number. Contains empty string if not available. Exists only on US Green Cards. To see which document was scanned use the documentType property.
getter/setter pair
issuer String?
Three-letter or two-letter code which indicate the issuing State. Three-letter codes are based on Aplha-3 codes for entities specified in ISO 3166-1, with extensions for certain States. Two-letter codes are based on Alpha-2 codes for entities specified in ISO 3166-1, with extensions for certain States.
getter/setter pair
mrzParsed bool?
true if Machine Readable Zone has been parsed, false otherwise.
getter/setter pair
mrzText String?
The entire Machine Readable Zone text from ID. This text is usually used for parsing other elements. NOTE: This string is available only if OCR result was parsed successfully.
getter/setter pair
mrzVerified bool?
true if all check digits inside MRZ are correct, false otherwise.
getter/setter pair
nationality String?
The nationality of the holder represented by a three-letter or two-letter code. Three-letter codes are based on Alpha-3 codes for entities specified in ISO 3166-1, with extensions for certain States. Two-letter codes are based on Aplha-2 codes for entities specified in ISO 3166-1, with extensions for certain States.
getter/setter pair
opt1 String?
The first optional data. Contains empty string if not available. Element does not exist on US Green Card. To see which document was scanned use the documentType property.
getter/setter pair
opt2 String?
The second optional data. Contains empty string if not available. Element does not exist on Passports and Visas. To see which document was scanned use the documentType property.
getter/setter pair
primaryId String?
The primary indentifier. If there is more than one component, they are separated with space.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sanitizedDocumentCode String?
Sanitized document code
getter/setter pair
sanitizedDocumentNumber String?
Sanitized document number
getter/setter pair
sanitizedIssuer String?
Sanitized field issuer
getter/setter pair
sanitizedNationality String?
Sanitized field nationality
getter/setter pair
sanitizedOpt1 String?
Sanitized field opt1
getter/setter pair
sanitizedOpt2 String?
Sanitized field opt2
getter/setter pair
secondaryId String?
The secondary identifier. If there is more than one component, they are separated with space.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited