fileExists method

Future<bool> fileExists(
  1. String filePath
)

Check if a file exists

Implementation

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