setDiskQuota method

Future<void> setDiskQuota(
  1. int? quota, {
  2. TileDataDomain? domain,
})

Sets the maximum amount of bytes TileStore can use to store files. If the new value causes the quota to be exceeded, 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

Future<void> setDiskQuota(int? quota, {TileDataDomain? domain}) =>
    _impl.setDiskQuota(quota, domain: domain);