getFinalStatus method
Use this method to get the final status of the verification process, the final status will be on of those statuses DigifiedStatus
onResult
(required) A callback method with the DigifiedStatus of the verification process
Implementation
Future<bool> getFinalStatus({required Function(FinalStatusResult) onResult}) {
if (!_isInitializeCalled) {
debugPrint("Digifed: call initialize first!");
return Future.value(false);
}
return FinalStatusMethod().invoke(onResult: onResult);
}