MethodChannelFlutterLibjeid class
An implementation of FlutterLibjeidPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterLibjeidPlatform
- MethodChannelFlutterLibjeid
Constructors
Properties
- eventChannel → EventChannel
-
final
-
eventStream
→ Stream<
FlutterLibjeidEvent> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- 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
override
-
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
andpin2
is required to read the content of the cardoverride -
scanMyNumberCard(
{required String pin}) → Future< void> -
Start the My Number (IN) Card scanning process
The
pin
is required to read the content of the cardoverride -
scanPassportCard(
{required String cardNumber, required String birthDate, required String expiredDate}) → Future< void> -
Start the Passport (EP) Card scanning progress
The
cardNumber
,birthDate
, andexpiredDate
is required to read the content of the cardoverride -
scanResidentCard(
{required String cardNumber}) → Future< void> -
Start the Resident (RC) Card scanning process
The
cardNumber
value is required to read the content of the cardoverride -
setMessage(
{required String message}) → Future< void> -
Set the message that will be displayed on the NFC reader dialog
override
-
stopScan(
) → Future< void> -
Stop the current scanning progress
Will do nothing if there is no scanning progress
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited