@override Map<String, dynamic> toJson() => { 'id': id, 'type': optionType.name, 'condition': condition, };