Serialize this component to a JSON object.
@override Map<String, dynamic> toJson () => { ...super.toJson(), 'channel_types': channels.map((element) => element.value).toList(), };