openLivenessAuthenticate method
- String code
Inicia liveness para authenticação
Implementation
void openLivenessAuthenticate(String code) async {
var map = buildMap();
map["code"] = code;
final Map<dynamic, dynamic> result = await _channel.invokeMethod('openLivenessAuthenticate',map);
if(validResult(result)){
if(result["flutterstatus"] == 1){
iAcessoBioAuthenticate.onSuccessAuthenticate(ResultAuthenticate(result));
}else{
iAcessoBioAuthenticate.onErrorAuthenticate(ErrorBio(result));
}
}
}