Digified class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
cancelCapture ({required dynamic onResult () })
→ Future <bool >
Cancelling the capture request (usually will be used if capture timeout passed and you want
to allow the user to cancel the capturing request)
capture ({required int captureType , int ? desiredWidth , int ? desiredHeight , required dynamic onCaptured (CaptureResult ), required dynamic onFailed (DigifiedError , int ), required dynamic onCancelled (int ), required dynamic onTimeout () })
→ Future <bool >
This method is used to capture images (ID front image, ID back image and Selfie)
getFinalStatus ({required dynamic onResult (FinalStatusResult ) })
→ Future <bool >
Use this method to get the final status of the verification process, the final status will be
on of those statuses DigifiedStatus
getNextAction ({required dynamic onResult (NextActionResult ) })
→ Future <bool >
Use this method to get the next action that you should let the user perform based on
the predefined sequence in the SDK. Actions can be found here DigifiedAction
initialize ({required String baseUrl , required String apiKey , bool ? enableManualCapturingFallback , int ? captureTimeout , int ? maxCapturingWidth , int ? maxCapturingHeight , String ? warningAction , String ? userName , String ? phoneNumber , String ? email , required void onSuccess (InitializationResult ), required void onFailed (DigifiedError ) })
→ Future <bool >
Initializing the SDK and setting some config params
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetSequence ({required dynamic onResult () })
→ Future <bool >
Rests the SDK to the initial stats
send <T extends DigifiedResult > ({required dynamic onResult (), required dynamic onFailure (DigifiedError ), required dynamic onUploadProgress (int , int ), required dynamic onUploadingDone (int ) })
→ Future <bool >
Sending the captured image and get a result of T
that is specified in the Function
toString ()
→ String
A string representation of this object.
inherited