anchor.diff:                  break;
                 case 'devicedata':
                   deviceData(webSocket);
  +                break;
  +              case 'changeColor':
  +                changeColor(payload);
                   break;
               }
             }
  
positive.code: void main() {
    var webSocket = new WebSocket('wss://isowosi.com/ws/c/webstuff');
    webSocket.onOpen.listen((_) async {
  
      webSocket.onMessage.listen((event) {
        var data = JSON.decode(event.data);
        debug(event.data);
  
        try {
          if (data is Map && data.containsKey('content') && data['content'] != 'removeClient') {
            var payload = JSON.decode(data['content']);
            if (payload is Map && payload.containsKey('type')) {
              switch (payload['type']) {
  
negative.code: void displayNotification(Map<String, String> payload) {
    if (Notification.supported) {
      Notification.requestPermission().then((_) {
        new Notification('Möglichkeiten des Web',
            body: payload['content'], icon: 'MdW.png');
      });
    } else {
      debug('Notifications werden von deinem Gerät nicht unterstützt :(');
    }
  }
  
  void changeColor(Map payload) {
    var hsl = JSON.decode(payload['content']);
    querySelector('body').style.backgroundColor =
        'hsl(${hsl['h']}, ${hsl['s']}%, ${hsl['l']}%)';
  }
  