create static method

ICommander create(
  1. INyxxWebsocket client,
  2. PrefixHandlerFunction prefixHandler, {
  3. PassHandlerFunction? beforeCommandHandler,
  4. AfterHandlerFunction? afterCommandHandler,
  5. LoggerHandlerFunction? loggerHandlerFunction,
  6. CommandExecutionError? commandExecutionError,
})

Implementation

static ICommander create(INyxxWebsocket client, PrefixHandlerFunction prefixHandler,
        {PassHandlerFunction? beforeCommandHandler,
        AfterHandlerFunction? afterCommandHandler,
        LoggerHandlerFunction? loggerHandlerFunction,
        CommandExecutionError? commandExecutionError}) =>
    Commander(client, prefixHandler,
        beforeCommandHandler: beforeCommandHandler,
        afterCommandHandler: afterCommandHandler,
        loggerHandlerFunction: loggerHandlerFunction,
        commandExecutionError: commandExecutionError);