toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "combination_id": combinationId,
  "quantity": quantity,
  "options": options == null ? [] : List<dynamic>.from(options!.map((x) => x.toJson())),
};