toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final deliveryFrequency = this.deliveryFrequency;
  return {
    if (deliveryFrequency != null)
      'deliveryFrequency': deliveryFrequency.toValue(),
  };
}