IdentityDocumentInput class

Constructors

IdentityDocumentInput({required IdentityDocumentInputTypeEnum type, required String uniqueIdentifier, required String issuingCountryCode, required DateTime expiresOn})
Returns a new IdentityDocumentInput instance.

Properties

expiresOn ↔ DateTime
The date the document expires (yyyy-MM-dd).
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
issuingCountryCode ↔ String
ISO 3166-1 alpha-2 code of the country that issued the document, for example GB.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ IdentityDocumentInputTypeEnum
One of the offer's supportedDocumentTypes: passport, taxId, knownTravelerNumber or passengerRedressNumber.
getter/setter pair
uniqueIdentifier ↔ String
The document number, as printed on the document. Responses show only its last four characters.
getter/setter pair

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → IdentityDocumentInput?
Returns a new IdentityDocumentInput instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<IdentityDocumentInput>
mapFromJson(dynamic json) → Map<String, IdentityDocumentInput>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<IdentityDocumentInput>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.