onRequest method
Implementation
Future<HttpActionResult> onRequest(
NodeSpec action, ActionContext context) async {
final restSpec = transformRequestToRest(action, context);
if (restSpec == null) {
return HttpActionResult(false);
}
return await onRest(
NodeSpec(
action.type,
restSpec,
actions: action.actions,
),
context);
}