toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (constraints != null) 'constraints': constraints!,
      if (editWindow != null) 'editWindow': editWindow!,
      if (lastEditor != null) 'lastEditor': lastEditor!,
      if (startTime != null) 'startTime': startTime!,
      if (weeklyWindows != null) 'weeklyWindows': weeklyWindows!,
    };