toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'calendarPeriod': calendarPeriod,
'displayName': displayName,
'goal': goal,
'name': name,
'rollingPeriod': rollingPeriod,
'serviceLevelIndicator': serviceLevelIndicator.toMap(),
'userLabels': userLabels,
};
}