CommandHandlerFunction typedef Null safety

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

Handler for executing command logic.

Implementation

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