MethodChannelSotaidPluging class
An implementation of SotaidPlugingPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SotaidPlugingPlatform
- MethodChannelSotaidPluging
Constructors
Properties
- 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
-
checkCameraPermission(
) → Future< bool> -
Check camera permission
override
-
checkStoragePermission(
) → Future< bool> -
Check storage permission
override
-
createCustomer(
Map< String, dynamic> customerData) → Future<Map< String, dynamic> > -
Create a new customer
override
-
createVerificationSession(
Map< String, dynamic> sessionData, {File? documentFile}) → Future<Map< String, dynamic> > -
Create a new verification session
override
-
deleteCustomer(
String customerId) → Future< bool> -
Delete a customer
override
-
getCountries(
) → Future< List< Map< >String, dynamic> > -
Get available countries
override
-
getCustomer(
String customerId) → Future< Map< String, dynamic> > -
Get customer by ID
override
-
getDeviceLanguage(
) → String - Get device language for Accept-Language header
-
getHeaders(
) → Map< String, String> - Get headers with bearer token and Accept-Language if available
-
getMultipartHeaders(
) → Map< String, String> - Get headers for multipart requests with bearer token and Accept-Language
-
getPlatformVersion(
) → Future< String?> -
override
-
getVerificationSession(
String sessionId) → Future< Map< String, dynamic> > -
Get verification session by ID
override
-
getVerificationStatus(
String sessionId) → Future< Map< String, dynamic> > -
Get verification session status
override
-
initialize(
{bool sandboxMode = true, String? bearerToken}) → void -
Initialize the plugin with environment configuration and bearer token
override
-
invokeMethod(
String method, [Map< String, dynamic> ? arguments]) → Future -
Generic method to invoke platform-specific functionality
override
-
isNfcAvailable(
) → Future< bool> -
Check if NFC is available on the device
override
-
isNfcEnabled(
) → Future< bool> -
Check if NFC is enabled on the device
override
-
listCustomers(
{String? email, int? limit}) → Future< Map< String, dynamic> > -
List all customers
override
-
listVerificationSessions(
{String? email, int? limit}) → Future< Map< String, dynamic> > -
List all verification sessions
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readNfcDocument(
String documentType) → Future< Map< String, dynamic> ?> -
Read NFC document
override
-
requestCameraPermission(
) → Future< bool> -
Request camera permission
override
-
requestStoragePermission(
) → Future< bool> -
Request storage permission
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCustomer(
String customerId, Map< String, dynamic> customerData) → Future<Map< String, dynamic> > -
Update an existing customer
override
-
verifyDocumentBack(
String sessionId, Map< String, dynamic> verificationData) → Future<Map< String, dynamic> > -
Verify document back (verso)
override
-
verifyDocumentFront(
String sessionId, Map< String, dynamic> verificationData) → Future<Map< String, dynamic> > -
Verify document front (recto)
override
-
verifyFace(
String sessionId, Map< String, dynamic> verificationData, VerificationType verificationType) → Future<Map< String, dynamic> > -
Verify face
override
-
verifyNfcDocument(
String sessionId, Map< String, dynamic> verificationData) → Future<Map< String, dynamic> > -
Verify NFC document
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited