openLivenessWithCreateProcess method

void openLivenessWithCreateProcess (
  1. String name,
  2. String document
)

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));
    }

  }


}