cacheHitsAsync property

Future<int> get cacheHitsAsync

Retrieve the number of tiles that were successfully retrieved from the store during browsing

For synchronous version, see cacheHits.

If using noCache, this will always return 0.

Implementation

Future<int> get cacheHitsAsync async =>
    int.tryParse(await _csgAsync('cacheHits', () => Future.sync(() => 0))) ??
    0;