isFile static method

bool isFile(
  1. String path
)

Implementation

static bool isFile(String path) {
  return File(path).existsSync();
}