IResponsibilityNodeBase<R, A> class abstract interface

An alternative way to declare responsibility node handlers - implement IResponsibilityNode and treat its objects as regular IResponsibilityNodes.

The only method that needs to be implemented is call, which corresponds to a IResponsibilityNode function type.

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

call(A args) → FutureOr<ChainResult<R>>
A method that corresponds to the IResponsibilityNode signature. This method should either return a FutureOr<ChainResult<R>>, or throw an exception.
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