LambdaAction

Defines actions to be executed as Lambda functions.

Description

The LambdaAction class is used to define actions to be executed as Lambda functions.

Fields

cmd

Command to call the action

String? cmd

schema

Schema to validate action parameters

LambdaAction(String? cmd, Schema? schema, Future Function(Map<String, dynamic>) action)

action

Action to be executed

Future Function(Map<String, dynamic>)? action