core.Map<core.String, core.dynamic> toJson() => { if (devices != null) 'devices': devices!, if (touchpadLibrary != null) 'touchpadLibrary': touchpadLibrary!, };