deleteFile method

Future<void> deleteFile({
  1. required String path,
})

Deletes the file at path.

Throws FirebaseException on failure — handle in the provider/caller.

Implementation

Future<void> deleteFile({required String path}) async =>
    await _ref(path).delete();