storeLengthAsync property

Future<int> get storeLengthAsync

Retrieve the number of stored tiles in a store

For synchronous version, see storeLength.

Only includes tiles stored, not necessarily all files.

Implementation

Future<int> get storeLengthAsync async =>
    int.tryParse(
      await _csgAsync(
        'length',
        () async => (await _access.tiles.listWithExists()).length,
      ),
    ) ??
    0;