iOSFileExist method
Implementation
@override
Future<bool?> iOSFileExist(String filePath) async {
bool? response;
try {
response = await mirrorFlyMethodChannel
.invokeMethod<bool>('iOSFileExist', {"file_path": filePath});
debugPrint("iOSFileExist Response ==> $response");
return response;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}