pathExits method

Future<bool> pathExits(
  1. String fpath
)

Implementation

Future<bool> pathExits(String fpath) async {
  if (kIsWeb) {
    return true;
  }
  if (fpath.isEmpty) {
    return false;
  }
  return await File(fpath).exists();
}