toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (disabled != null) 'disabled': disabled!,
      if (durationSec != null) 'durationSec': durationSec!,
      if (minRequiredReplicas != null)
        'minRequiredReplicas': minRequiredReplicas!,
      if (schedule != null) 'schedule': schedule!,
      if (timeZone != null) 'timeZone': timeZone!,
    };