delete static method

Future<void> delete(
  1. String mediaId
)

Delete a media item by mediaId.

Removes the item from Firebase Storage, Firestore, and local cache. The deletion is queued if offline and executed when connectivity returns.

Implementation

static Future<void> delete(String mediaId) async {
  _ensure();
  await _provider!.deleteMedia(mediaId);
}