IDCardInfo class

Holds the extracted information from a recognized ID card.

Constructors

IDCardInfo({String? firstName, String? lastName, String? middleName, String? dateOfBirth, String? idNumber, String? faceImagePath, String? extracteddetails})
Creates an instance of IDCardInfo.

Properties

dateOfBirth String?
The date of birth of the card holder in dd-MM-yyyy format.
final
extracteddetails String?
final
faceImagePath String?
The file path to a cropped image of the face detected on the card.
final
firstName String?
The first name of the card holder.
final
hashCode int
The hash code for this object.
no setterinherited
idNumber String?
The unique identification number from the card (e.g., VIN, Passport No).
final
lastName String?
The last name of the card holder.
final
middleName String?
The middle name of the card holder.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? firstName, String? lastName, String? middleName, String? dateOfBirth, String? idNumber, String? faceImagePath, String? extracteddetails}) IDCardInfo
Creates a copy of this IDCardInfo but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited