QuotaFetchResult class

Result of one quota fetch: either a parsed ProviderQuota or an unknown with a one-line reason (E2/E3 — no retry storms, no errors surfaced to the user beyond the reason).

Constructors

QuotaFetchResult.ok(ProviderQuota quota)
const
QuotaFetchResult.unknown(String reason)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isUnknown → bool
no setter
quota → ProviderQuota?
final
reason → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited