toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endTime != null) 'endTime': endTime!,
      if (frequency != null) 'frequency': frequency!,
      if (lastExecuteTime != null) 'lastExecuteTime': lastExecuteTime!,
      if (monthly != null) 'monthly': monthly!,
      if (nextExecuteTime != null) 'nextExecuteTime': nextExecuteTime!,
      if (startTime != null) 'startTime': startTime!,
      if (timeOfDay != null) 'timeOfDay': timeOfDay!,
      if (timeZone != null) 'timeZone': timeZone!,
      if (weekly != null) 'weekly': weekly!,
    };