PassHandlerFunction typedef Null safety
Used to determine if command can be executed in given environment. Return true to allow executing command or false otherwise.
Implementation
typedef PassHandlerFunction = FutureOr<bool> Function(ICommandContext context);