fileExists static method

Future<bool> fileExists(
  1. String path
)

wrapper for native file.exists

Implementation

static Future<bool> fileExists(String path) async {
  return File(path).exists();
}