iOSFileExist method

  1. @override
Future<bool?> iOSFileExist(
  1. String filePath
)
override

Implementation

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