startFaceDetection static method

Future startFaceDetection({
  1. String? title,
  2. String? description,
  3. bool isverify = false,
  4. required String bashUrl,
  5. required String? token,
})

Implementation

static Future<dynamic> startFaceDetection({String? title,String? description,bool isverify=false,required String bashUrl, required String? token}) async{
  DependencyInjection.init();
  SignatureService().startGeneratingSignatures();

  Services.isVerify = isverify;
  Services.productionUrl = bashUrl;
  if(title!=null){
    Services.title = title;
  }
  if(description!=null){
    Services.description = description;
  }
  if(token!=null){
    Services.token = token;
  }
  var result = await Get.to(() => InitScreen()); // Navigate to InitScreen
  return result; // Ensure a value is always returned
}