OfflineLimits constructor
const
OfflineLimits({})
Implementation
const OfflineLimits({
this.maxRecords = 1000,
this.maxBytes = 10 * 1024 * 1024,
this.maxAgeSeconds = 7 * 86400,
}) : assert(maxRecords > 0 && maxRecords <= 10000),
assert(maxBytes > 0 && maxBytes <= 100 * 1024 * 1024),
assert(maxAgeSeconds > 0 && maxAgeSeconds <= 30 * 86400);