setDiskQuota method

void setDiskQuota(
  1. int? quota, {
  2. TileDataDomain? domain = null,
})

Sets the maximum amount of bytes TileStore can use to store files. If the new value causes the quota to be exceed, request will fail and data will be evicted to enforce the quota. Accepts a (positive) number of bytes, or null for resetting to the default value.

Implementation

void setDiskQuota(int? quota, {TileDataDomain? domain = null}) {
  _api.setOptionForKey(_TileStoreOptionsKey.DISK_QUOTA, domain, quota);
}