doesFileExist static method

bool doesFileExist(
  1. {required String filePath}
)

Implementation

static bool doesFileExist({
  required String filePath,
}) {
  File file = File(filePath);
  return file.existsSync();
}