hasFile static method

dynamic hasFile(
  1. dynamic path
)

Check if a file exist by passing in a path.

Implementation

static hasFile(path) async {
  return await File(path).exists();
}