CommandHandlerFunction typedef

FutureOr<void> CommandHandlerFunction (
  1. CommandContext context,
  2. String message
)

Handler for executing command logic.

Implementation

typedef CommandHandlerFunction = FutureOr<void> Function(CommandContext context, String message);