RsaIdCard class

A South African Smart ID Card. Includes all the details of the Smart ID.

Implemented types

Constructors

RsaIdCard({required String idNumber, required String firstNames, required String surname, required String gender, required DateTime birthDate, required DateTime issueDate, required String smartIdNumber, required String nationality, required String countryOfBirth, required String citizenshipStatus})
const
RsaIdCard.fromBarcodeString(String barcodeString)
Returns a SmartId instance from the String read from the barcode of the ID.
factory

Properties

birthDate DateTime
The birth date of the person to whom this document belongs.
final
citizenshipStatus String
The citizenship status of the person to whom this document belongs.
final
countryOfBirth String
The country code representing the country of birth of the person to whom this document belongs.
final
firstNames String
The first names of the person to whom this document belongs.
final
gender String
The text representing gender of the person to whom this document belongs.
final
hashCode int
The hash code for this object.
no setterinherited
idNumber String
The ID Number of the person to whom this document belongs.
final
issueDate DateTime
The date on which this license was issued.
final
nationality String
The country code representing the nationality of the person to whom this document belongs.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smartIdNumber String
The number of this smart ID.
final
surname String
The last name of the person to whom this document belongs.
final

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