toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customActionTimeoutMins != null)
        'customActionTimeoutMins': customActionTimeoutMins!,
      if (daysOfWeek != null) 'daysOfWeek': daysOfWeek!,
      if (hoursOfDay != null) 'hoursOfDay': hoursOfDay!,
      if (isCustomActionTimeoutEnabled != null)
        'isCustomActionTimeoutEnabled': isCustomActionTimeoutEnabled!,
      if (leadTimeWeek != null) 'leadTimeWeek': leadTimeWeek!,
      if (months != null) 'months': months!,
      if (patchingMode != null) 'patchingMode': patchingMode!,
      if (preference != null) 'preference': preference!,
      if (weeksOfMonth != null) 'weeksOfMonth': weeksOfMonth!,
    };