hasFile static method

Future<bool> hasFile(
  1. dynamic path
)

Check if a file exist by passing in a path.

Implementation

static Future<bool> hasFile(path) async => await File(path).exists();