deleteFile static method

Future<bool> deleteFile(
  1. String filePath
)

Deletes a file at the given path.

Returns true if the file was deleted or didn't exist, false otherwise.

Implementation

static Future<bool> deleteFile(String filePath) async {
  if (kIsWeb) return false; // Web implementation would delete from IndexedDB
  return await _instance.deleteFile(filePath);
}