ApprovalPort class abstract

Port for requesting and managing approvals.

Implementers

Constructors

ApprovalPort()

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

cancelApproval(String approvalId) Future<void>
Cancel a pending approval request.
checkStatus(String approvalId) Future<ApprovalStatus>
Check the status of an existing approval request.
getHistory({String? entityId, String? requesterId, DateTime? since, int limit = 100}) Future<List<ApprovalRecord>>
Get approval history for an entity.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestApproval(ApprovalRequest request) Future<ApprovalResult>
Request approval for an action.
toString() String
A string representation of this object.
inherited
watchApproval(String approvalId) Stream<ApprovalEvent>
Watch for approval status changes.

Operators

operator ==(Object other) bool
The equality operator.
inherited