start method
starting camera
Implementation
Future<File?> start() async {
print("object");
try {
var result = await _methodChannel.invokeMethod("start");
if ("$result" != "null"&&"$result" != "") {
return File("$result".replaceAll("file:/", ""));
}
} catch (e) {
print("catched");
return null;
}
return null;
}