MrzResult class

Parsed MRZ data and its detected location.

Constructors

MrzResult({required String rawText, VisionQuadrilateral? location, String? documentType, Map<String, String> fields = const {}, double? confidence})
const
MrzResult.fromMap(Map<Object?, Object?> map)
factory

Properties

confidence → double?
Recognition confidence in the range 0..1 when the SDK reports one.
final
documentType → String?
MRZ document type, for example TD1, TD2, or TD3.
final
fields → Map<String, String>
Parsed field values keyed by field name, for example passportNumber.
final
hashCode → int
The hash code for this object.
no setterinherited
location → VisionQuadrilateral?
Source location when the SDK exposes one for the parsed item.
final
rawText → String
The composed MRZ text lines as printed on the document.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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