toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (businessDayConfig != null) 'businessDayConfig': businessDayConfig!,
  if (cutoffTime != null) 'cutoffTime': cutoffTime!,
  if (handlingDays != null) 'handlingDays': handlingDays!,
  if (name != null) 'name': name!,
  if (shippingAddress != null) 'shippingAddress': shippingAddress!,
};