AgentProposalOutcome<P> class final

Constructors

AgentProposalOutcome({required AgentProposalStatus status, P? proposal, Object? refusal, Object? error})
const

Properties

error → Object?
What was thrown, when something was — never set together with refusal.
final
hashCode → int
The hash code for this object.
no setterinherited
proposal → P?
The proposal, or null when proposing itself failed.
final
refusal → Object?
What refuse answered, when the proposal was refused.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → AgentProposalStatus
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