toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cutoffTime != null) 'cutoffTime': cutoffTime!,
if (handlingBusinessDayConfig != null)
'handlingBusinessDayConfig': handlingBusinessDayConfig!,
if (holidayCutoffs != null) 'holidayCutoffs': holidayCutoffs!,
if (maxHandlingTimeInDays != null)
'maxHandlingTimeInDays': maxHandlingTimeInDays!,
if (maxTransitTimeInDays != null)
'maxTransitTimeInDays': maxTransitTimeInDays!,
if (minHandlingTimeInDays != null)
'minHandlingTimeInDays': minHandlingTimeInDays!,
if (minTransitTimeInDays != null)
'minTransitTimeInDays': minTransitTimeInDays!,
if (transitBusinessDayConfig != null)
'transitBusinessDayConfig': transitBusinessDayConfig!,
if (transitTimeTable != null) 'transitTimeTable': transitTimeTable!,
if (warehouseBasedDeliveryTimes != null)
'warehouseBasedDeliveryTimes': warehouseBasedDeliveryTimes!,
};