registerCustomCommandHandlers method

void registerCustomCommandHandlers(
  1. Map<String, DeviceCommandHandler> handlers
)

Registers custom command handlers. Commands with a type that matches the key in the custom handlers map will allow the

Implementation

void registerCustomCommandHandlers(
        Map<String, DeviceCommandHandler> handlers) =>
    _handlers.addAll(handlers);