DriverLicense class

A driver license or ID card.

Constructors

DriverLicense.fromNative(Map data)
Create a DriverLicense from native data.

Properties

addressCity String
Gets city of holder's address.
final
addressState String
Gets state of holder's address.
final
addressStreet String
Gets holder's street address.
final
addressZip String
Gets postal code of holder's address.
final
birthDate String
Gets birth date of the holder.
final
documentType String
Gets "DL" for driver licenses, "ID" for ID cards.
final
expiryDate String
Gets expiry date of the license.
final
firstName String
Gets holder's first name.
final
gender String
Gets holder's gender. 1 - male, 2 - female.
final
hashCode int
The hash code for this object.
no setterinherited
issueDate String
Gets issue date of the license.
final
issuingCountry String
Gets the three-letter country code in which DL/ID was issued.
final
lastName String
Gets holder's last name.
final
licenseNumber String
Gets driver license ID number.
final
middleName String
Gets holder's middle name.
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