fileExists function

Future<bool> fileExists(
  1. String path
)

Implementation

Future<bool> fileExists(String path) async {
  if (!await File(path).exists()) {
    print('ERROR > File Does not exist : ' + path);
    return false;
  }
  return true;
}