Passport class
- Inheritance
-
- Object
- ButlerResult
- Passport
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- Passport()
- Passport.fromButlerResult(ButlerResult result)
-
factory
-
Passport.fromJson(Map<
String, dynamic> json) -
factory
Properties
- birthDate → String?
-
Extracted date of birth
no setter
- confidenceScore ↔ String?
-
getter/setter pairinherited
- documentId ↔ String?
-
getter/setter pairinherited
- documentNumber → String?
-
Extracted Passport Number
no setter
- documentStatus ↔ String?
-
getter/setter pairinherited
- documentType ↔ String?
-
getter/setter pairinherited
- expirationDate → String?
-
Extracted expiration date
no setter
- fileName ↔ String?
-
getter/setter pairinherited
- firstName → String?
-
Extracted given name and middle initial if applicable
no setter
-
formFields
↔ List<
ButlerField> ? -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastName → String?
-
Extracted surname
no setter
- machineReadableZone → String?
-
Extracted Machine Readable Zone including two lines of 44 characters each
no setter
- mimeType ↔ String?
-
getter/setter pairinherited
- nationality → String?
-
Country or region code compliant with ISO 3166 standard
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sex → String?
-
Extracted sex. Possible values include "M", "F" and "X"
no setter
-
tables
↔ List<
ButlerTable> ? -
getter/setter pairinherited
- uploadId ↔ String?
-
The uploadId is used to delete the document and results after if needed.
getter/setter pairinherited
Methods
-
getField(
String fieldName) → String? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited