cacheMissesAsync property

Future<int> get cacheMissesAsync

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

For synchronous version, see cacheMisses.

Includes tiles that needed updating. If using noCache, this will always return 0.

Implementation

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