toJson method

Map<String, dynamic> toJson()

Implementation

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