toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alertConfig != null) 'alertConfig': alertConfig!,
      if (cloudSchedulerConfig != null)
        'cloudSchedulerConfig': cloudSchedulerConfig!,
      if (description != null) 'description': description!,
      if (errorCatcherId != null) 'errorCatcherId': errorCatcherId!,
      if (label != null) 'label': label!,
      if (nextTasksExecutionPolicy != null)
        'nextTasksExecutionPolicy': nextTasksExecutionPolicy!,
      if (position != null) 'position': position!,
      if (properties != null) 'properties': properties!,
      if (startTasks != null) 'startTasks': startTasks!,
      if (trigger != null) 'trigger': trigger!,
      if (triggerId != null) 'triggerId': triggerId!,
      if (triggerNumber != null) 'triggerNumber': triggerNumber!,
      if (triggerType != null) 'triggerType': triggerType!,
    };