toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (calendarPeriod != null) 'calendarPeriod': calendarPeriod!,
if (displayName != null) 'displayName': displayName!,
if (goal != null) 'goal': goal!,
if (name != null) 'name': name!,
if (rollingPeriod != null) 'rollingPeriod': rollingPeriod!,
if (serviceLevelIndicator != null)
'serviceLevelIndicator': serviceLevelIndicator!,
if (userLabels != null) 'userLabels': userLabels!,
};