isFileExistsFromPath static method

bool isFileExistsFromPath(
  1. String filePath
)

Implementation

static bool isFileExistsFromPath(String filePath) {
  final file = getFileByPath(filePath);
  return file != null && file.existsSync();
}