rootSize property

double rootSize

Retrieve the total size of all stored tiles in kibibytes (KiB) synchronously

Prefer rootSizeAsync to avoid blocking the UI thread. Otherwise, this has slightly better performance.

Internally sums up the size of all stores (using StoreStats.storeSize).

Implementation

double get rootSize =>
    storesAvailable.map((e) => e.stats.storeSize).sum / 1024;