PassportData class

Data model encapsulating the Passport data

  • country Country in the API response, Country
  • birthPlace Place_of_Birth in the API response, Birth place
  • issuePlace Place_of_Issue in the API response, code of the issuance place of the passport
  • birthdate birthdate in the API response, birthdate written in the passport
  • documentAdditionalNumber documentAdditionalNumber in the API response, document additional number
  • expirationDate expiration in the API response, expiration date of the passport
  • firstName first_name in the API response, first name in the passport
  • gender gender in the API response, gender in the passport
  • imageUrl image in the API response, cropped image of the passport
  • isoNumericCountryCode isoNumericCountryCode in the API response, iso country code
  • issueDate issue_date in the API response, the issue date of the passport
  • lastName last_name in the API response, last name in the passport
  • nationality nationality in the API response, nationality in the passport
  • serial serial in the API response, passport serial number
  • address address in the API response, passport address
Inheritance

Constructors

PassportData(Map dataMap)

Properties

address String?
read / write
birthdate String?
read / write
birthPlace String?
read / write
country String?
read / write
documentAdditionalNumber String?
read / write
expirationDate String?
read / write
firstName String?
read / write
gender String?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
imageUrl String?
read / write
isoNumericCountryCode String?
read / write
issueDate String?
read / write
issuePlace String?
read / write
lastName String?
read / write
nationality String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
serial String?
read / write

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