openLivenessWithCreateProcess method
Inicia liviness e cria um processo
Implementation
void openLivenessWithCreateProcess(String name, String document) async {
var map = buildMap();
map["name"] = name;
map["document"] = document;
final Map<dynamic, dynamic> result = await _channel.invokeMethod('openLivenessWithCreateProcess',map);
if(validResult(result)){
if(result["flutterstatus"] == 1){
iAcessoBioLiveness.onSuccessLiveness(ResultLivenessX(result));
}else{
iAcessoBioLiveness.onErrorLiveness(ErrorBio(result));
}
}
}