QuotaSection class final
The parsed quota: section (issue #823): the status-line badge opt-in
and the quota-cache TTL. Strict like every section: unknown keys and
bad scalars throw ConfigException at boot; defaults are never written
so the file stays minimal.
Constructors
- QuotaSection({bool badge = false, int ttlMinutes = defaultQuotaTtlMinutes})
-
const
Properties
- badge → bool
-
Render the provider-quota badge on the status line (OQ2 lean: OFF by
default — the status line stays quiet until the user asks for it).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ttlMinutes → int
-
The quota-cache TTL in minutes (fed to ProviderQuotaService).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override