toJson method
Implementation
Map<String, dynamic> toJson() => {
"key": key,
"description": description,
"selections": List<dynamic>.from(selections.map((x) => x.toJson())),
"preselect": preselect,
"maxSelections": maxSelections,
};