checkTileCached method Null safety

bool checkTileCached(
  1. {required Coords<num> coords,
  2. required TileLayer options}
)

Check whether a specified tile is cached in the current store synchronously

Implementation

bool checkTileCached({
  required Coords<num> coords,
  required TileLayer options,
}) =>
    _tiles.getSync(DatabaseTools.hash(getTileUrl(coords, options))) != null;