PluginChain class
Constructors
-
PluginChain(List<
ApiPlugin> plugins) -
const
Properties
Methods
-
dispose(
) → Future< void> - Disposes all plugins.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runError(
ApiRequest request, ApiError error) → Future< ApiError> -
Passes
errorthrough all plugins'onErrorhooks in reverse. -
runRequest(
ApiRequest request) → Future< ApiRequest> -
Passes
requestthrough all plugins'onRequesthooks in order. -
runResponse(
ApiRequest request, ApiResponse response) → Future< ApiResponse> -
Passes
responsethrough all plugins'onResponsehooks in reverse. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited