openCameraWithCreateProcess method

void openCameraWithCreateProcess (
  1. String nome,
  2. String code,
  3. String gender,
  4. String birthdate,
  5. String email,
  6. String phone
)

Inicia camera inteligenre e cria um processo

Implementation

void openCameraWithCreateProcess(String nome, String code, String gender, String birthdate, String email, String phone ) async {

  var map = buildMap();
  map["nome"] = nome;
  map["code"] = code;
  map["gender"] = gender;
  map["birthdate"] = birthdate;
  map["email"] = email;
  map["phone"] = phone;

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

  if(validResult(result)){

    if(result["flutterstatus"] == 1){
      iAcessoBioCamera.onSuccessCamera(ResultCamera(result));
    }else{
      iAcessoBioCamera.onErrorCamera(ErrorBio(result));
    }

  }

}