FlutterLibjeidPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterLibjeidPlatform
Implementers

Constructors

FlutterLibjeidPlatform()
Constructs a FlutterLibjeidPlatform.

Properties

eventStream Stream<FlutterLibjeidEvent>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isAvailable() Future<bool>
Check whether the NFC reader is available on the device
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scanDriverLicenseCard({required String pin1, required String pin2}) Future<void>
Start the Driver License (DL) Card scanning process The pin1 and pin2 is required to read the content of the card
scanMyNumberCard({required String pin}) Future<void>
Start the My Number (IN) Card scanning process The pin is required to read the content of the card
scanPassportCard({required String cardNumber, required String birthDate, required String expiredDate}) Future<void>
Start the Passport (EP) Card scanning progress The cardNumber, birthDate, and expiredDate is required to read the content of the card
scanResidentCard({required String cardNumber}) Future<void>
Start the Resident (RC) Card scanning process The cardNumber value is required to read the content of the card
setMessage({required String message}) Future<void>
Set the message that will be displayed on the NFC reader dialog
stopScan() Future<void>
Stop the current scanning progress Will do nothing if there is no scanning progress
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FlutterLibjeidPlatform
The default instance of FlutterLibjeidPlatform to use.
getter/setter pair