CnicScanner class

Constructors

CnicScanner()

Properties

hashCode int
The hash code for this object.
no setterinherited
isFrontScan bool
this var track record which side has been scanned and which needed to be scanned and prompt user accordingly
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source ↔ ImageSource
it will check the image source
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scanCnic({required InputImage imageToScan}) Future<CnicModel>
this method will process the images and extract information from the card
scanImage({required ImageSource imageSource}) Future<CnicModel>
this method will be called when user uses this package
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

sortDateList({required List<String> dates}) List<String>
it will sort the dates