WorkflowApprovalResponse class
Workflow-level response to an approval request.
Captures an approver's decision with optional reasoning.
Note: Named WorkflowApprovalResponse to avoid potential conflict with approval types from mcp_bundle's ApprovalPort contract.
Constructors
Properties
- approved → bool
-
Whether the request was approved.
final
- approver → String
-
Approver who submitted the response.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String?
-
Optional reason for the decision.
final
- requestId → String
-
Identifier of the approval request being responded to.
final
- respondedAt → DateTime
-
When the response was submitted.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited