toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (jobEndTrigger != null) 'jobEndTrigger': jobEndTrigger!,
      if (jobFailureTrigger != null) 'jobFailureTrigger': jobFailureTrigger!,
      if (recipients != null) 'recipients': recipients!,
      if (scoreThresholdTrigger != null)
        'scoreThresholdTrigger': scoreThresholdTrigger!,
    };