toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (basePlanId != null) 'basePlanId': basePlanId!,
  if (offerId != null) 'offerId': offerId!,
  if (offerPhase != null) 'offerPhase': offerPhase!,
  if (servicePeriodEndTime != null)
    'servicePeriodEndTime': servicePeriodEndTime!,
  if (servicePeriodStartTime != null)
    'servicePeriodStartTime': servicePeriodStartTime!,
};