diff --git a/example/mqtt_server_client_websocket.dart b/example/mqtt_server_client_websocket.dart index 4a0d721..0c0d300 100644 --- a/example/mqtt_server_client_websocket.dart +++ b/example/mqtt_server_client_websocket.dart @@ -37,7 +37,7 @@ Future main() async { /// You can supply a list of headers to send with the websocket request. /// Some brokers are known to need their own special headers for auth etc. - client.websocketHeader = {'sjh-test' : 'SJH'}; + client.websocketHeader = {'sjh-test': 'SJH'}; /// Set logging on if needed, defaults to off client.logging(on: false);