rootLengthAsync property
Retrieve the number of stored tiles in all sub-stores
For synchronous version, see rootLength.
Only includes tiles stored, not necessarily all files.
Implementation
Future<int> get rootLengthAsync async =>
int.tryParse(
await _csgAsync(
'length',
() async => (await Future.wait(
(await storesAvailableAsync).map((e) => e.stats.storeLengthAsync),
))
.sum,
),
) ??
0;