Preview-then-apply. See the library doc.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
run<
P> ({required AgentAtomicScope atomically, required String label, required Future< P> propose(), required Future<bool> confirm(P proposal), FutureOr<void> apply(P proposal)?, Object? refuse(P proposal)?}) → Future<AgentProposalOutcome< P> > - Proposes, previews, and keeps or discards one proposal as a unit.