CarpenterCommandSucceeded class final
Lifecycle event emitted after a command completes successfully.
- Inheritance
-
- Object
- CarpenterCommandExecutionEvent
- CarpenterCommandSucceeded
Constructors
-
CarpenterCommandSucceeded({required String commandId, required String title, required String group, required List<
CarpenterCommandEffect> effects, required CarpenterCommandResult result}) -
Creates a success event carrying the command's semantic
result.const
Properties
- commandId → String
-
Stable identifier of the command that produced this lifecycle event.
finalinherited
-
effects
→ List<
CarpenterCommandEffect> -
Immutable semantic effects captured before execution begins.
finalinherited
- group → String
-
Command group captured at invocation time.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBlocking → bool
-
Whether either the command effects or concrete result request blocking presentation.
no setteroverride
- message → String?
-
Convenience view of CarpenterCommandResult.message.
no setter
-
refreshScopes
→ Set<
String> -
Union of refresh scopes declared by command effects and the concrete result.
no setter
- result → CarpenterCommandResult
-
Semantic result returned by the completed command.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Command title captured at invocation time.
finalinherited
-
undo
→ FutureOr<
void> Function()? -
Convenience view of CarpenterCommandResult.undo.
no setter
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