BlinkCardFlutter class
BlinkCardFlutter plugin exposes the appropriate native BlinkCard module as a Flutter/Dart module, based on the detected platform: Android or iOS.
The BlinkCard plugin contains the the following methods
performScan- used for card scanning with the default BlinkCard UI/UX.performDirectApiScan- used for extracting card from static images.loadSdk- used for preloading the BlinkCard SDK, resulting in reducing the initalization time of scanning methods.unloadSdk- used for removing BlinkCard SDK resources.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadSdk(
{required BlinkCardSdkSettings blinkCardSdkSettings}) → Future< void> -
The
loadSdkmethod creates or retrieves the instance of the BlinkCard SDK. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performDirectApiScan(
{required BlinkCardSdkSettings blinkCardSdkSettings, required BlinkCardSessionSettings blinkCardSessionSettings, required String firstSideImage, String? secondSideImage}) → Future< BlinkCardScanningResult?> -
The
performDirectApiScanmethod launches the BlinkCard scanning process intended for information extraction from static images. It takes the following parameters: BlinkCardSdkSettings,SessionSettings,firstImageString in the Base64 format and the optionalsecondImageString in the Base64 format. -
performScan(
{required BlinkCardSdkSettings blinkCardSdkSettings, required BlinkCardSessionSettings blinkCardSessionSettings, ScanningUxSettings? scanningUxSettings}) → Future< BlinkCardScanningResult?> -
The
performScanmethod launches the BlinkCard scanning process with the default UX properties. It takes the following parameters: BlinkCardSdkSettings, and the optionalSessionSettingsand ScanningUxSettings classes. -
toString(
) → String -
A string representation of this object.
inherited
-
unloadSdk(
{bool deleteCachedResources = false}) → Future< void> -
The
unloadSdkmethod terminates the BlinkCard SDK and releases all associated resources.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited