setMaxTileStorageSize abstract method

void setMaxTileStorageSize(
  1. StorageManagerSizeListener callback, {
  2. required int limit,
})

Sets the maximum tile cache size to limit bytes. When the limit is reached, old tiles are removed.

Implementation

void setMaxTileStorageSize(
  StorageManagerSizeListener callback, {
  required core.int limit,
});