DriverLicense class

A driver license or ID card.

Constructors

DriverLicense({String? addressCity, String? addressState, String? addressStreet, String? addressZip, String? birthDate, String? documentType, String? expiryDate, String? firstName, String? gender, String? issueDate, String? issuingCountry, String? lastName, String? licenseNumber, String? middleName})
Create a new DriverLicense.
const
DriverLicense.fromNative(Map<Object?, Object?> data)
Create a DriverLicense from a map.
factory

Properties

addressCity String?
The city of the holder's address.
final
addressState String?
The state of the holder's address.
final
addressStreet String?
The street address of the holder's address.
final
addressZip String?
The postal code of the holder's address.
final
birthDate String?
The holder's birth date.
final
documentType String?
The type of the license.
final
expiryDate String?
The expiry date of the license.
final
firstName String?
The holder's first name.
final
gender String?
The holder's gender.
final
hashCode int
The hash code for this object.
no setterinherited
issueDate String?
The issue date of the license.
final
issuingCountry String?
The three-letter country code in which this license was issued.
final
lastName String?
The holder's last name.
final
licenseNumber String?
The identifying number for this license.
final
middleName String?
The 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