CNICInfo class
Information encoded in a CNIC number. See getCNICInfo.
Constructors
Properties
- digits → String
-
The CNIC as 13 digits without separators.
final
- formatted → String
-
The CNIC in
#####-#######-#form.final - gender → Gender
-
Gender encoded in the last digit: odd for male, even for female.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- province → String
-
Province where the CNIC was first registered (from the first digit).
This is not necessarily where the holder lives now.
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
-
toJson(
) → Map< String, Object?> - JSON form, with the same keys as the npm package.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override