clearOfflineCache static method

Future<void> clearOfflineCache()

Offline: wipes the per-user offline cache — messages, conversations, the pending outbox, and the downloaded media bytes on disk (which are the bulk of the space). No-op when disabled.

Implementation

static Future<void> clearOfflineCache() =>
    OfflineRuntime.instance.clearCache();