execute method
- IContext? context,
- Parameters args
override
Executes the next command in the execution chain using the given Parameters parameters
(arguments).
context
(optional) a context to trace execution through call chain.args
the parameters (arguments) to pass to the command for execution. Returns the function that is to be called once execution is complete. If an exception is raised, then it will be called with the error. See Parameters
Implementation
@override
Future<dynamic> execute(IContext? context, Parameters args) async {
return await _interceptor.execute(context, _next, args);
}