rootLength property

int get rootLength

Retrieve the number of stored tiles in all sub-stores

For asynchronous version, see rootLengthAsync.

Only includes tiles stored, not necessarily all files.

Implementation

int get rootLength =>
    int.tryParse(
      _csgSync(
        'length',
        () => storesAvailable.map((e) => e.stats.storeLength).sum,
      ),
    ) ??
    0;