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