cacheHits property Null safety

int cacheHits

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

Prefer cacheHitsAsync to avoid blocking the UI thread. Otherwise, this has slightly better performance.

Implementation

int get cacheHits => _db.storeDescriptor.getSync(0)!.hits;