purgeByBoundary method

void purgeByBoundary(
  1. BoundingBox boundingBox
)

Implementation

void purgeByBoundary(BoundingBox boundingBox) {
  _cache.clear();
  // _cache.storage.keys
  //     .where((RenderInfoCollection tile) {
  //       if (tile.getBoundingBox().intersects(boundingBox)) {
  //         return true;
  //       }
  //       return false;
  //     })
  //     .forEach((tile) {
  //       _cache.remove(tile);
  //     });
}