Map<String, dynamic> toJson() { final filters = this.filters; final maxDevices = this.maxDevices; return { 'filters': filters, 'maxDevices': maxDevices, }; }