ResolvedCreditContract class
Fully resolved reset, capacity, and same-cycle credit configuration.
- Annotations
Constructors
- ResolvedCreditContract({required int initialCredits, required int maximumCredits, required CreditSameCyclePolicy sameCyclePolicy})
-
Creates a resolved credit contract.
const
Properties
- configurationIdentity → String
-
Stable definition-name fragment for the resolved configuration.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialCredits → int
-
Credit balance restored by reset.
final
- maximumCredits → int
-
Maximum receiver capacity.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameCyclePolicy → CreditSameCyclePolicy
-
Same-cycle credit eligibility policy.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited