isSaveinDeviceFromPath method

Future<bool> isSaveinDeviceFromPath()

Implementation

Future<bool> isSaveinDeviceFromPath() async {
  try {
    if (kIsWeb) {
      return false;
    }

    File file = File(this);
    return file.exists();
  } catch (e) {
    print("ERROR isSaveinDeviceFromPath() --> $e");
    return false;
  }
}