handler property

CommandResult? Function(String command, List<String> arguments) handler
getter/setter pair

Returns a result for a given command + arguments, or null to fall back to a default failing result.

Implementation

CommandResult? Function(String command, List<String> arguments) handler;