openFaceMatch method

void openFaceMatch (
  1. int documentType
)

Inicia faceMatch

Implementation

void openFaceMatch(int documentType) async {

  var map = buildMap();

  map["DOCUMENT_TYPE"] = documentType;

  final Map<dynamic, dynamic> result = await _channel.invokeMethod('openFaceMatch',map);

  if(validResult(result)){

    if(result["flutterstatus"] == 1){
      iAcessoBioDocument.onSuccessFaceMatch(ResultFacematch(result));
    }else{
      iAcessoBioDocument.onErrorFaceMatch(result["result"]);
    }

  }

}