BarcodeDriverLicense class
Stores driver’s license or ID card data representation obtained from a barcode.
- Inheritance
-
- Object
- BarcodeValue
- BarcodeDriverLicense
Constructors
- BarcodeDriverLicense({String? addressCity, String? addressState, String? addressZip, String? addressStreet, String? issueDate, String? birthDate, String? expiryDate, String? gender, String? licenseNumber, String? firstName, String? lastName, String? country})
- Constructor to create an instance of BarcodeDriverLicense.
- BarcodeDriverLicense.fromJson(Map json)
-
Returns an instance of BarcodeDriverLicense from a given
json
.factory
Properties
- addressCity → String?
-
City of holder's address.
final
- addressState → String?
-
State of the holder's address.
final
- addressStreet → String?
-
Street of the holder's address.
final
- addressZip → String?
-
Zip code code of the holder's address.
final
- birthDate → String?
-
Birth date of the card holder.
final
- country → String?
-
Country of the holder.
final
- expiryDate → String?
-
Expiry date of the license.
final
- firstName → String?
-
First name of the holder.
final
- gender → String?
-
Gender of the holder.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- issueDate → String?
-
Date on which the license was issued.
final
- lastName → String?
-
Last name of the holder.
final
- licenseNumber → String?
-
Driver license ID.
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