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 (enabledClients != null) 'enabledClients': enabledClients!,
  if (errorCatcherId != null) 'errorCatcherId': errorCatcherId!,
  if (inputVariables != null) 'inputVariables': inputVariables!,
  if (label != null) 'label': label!,
  if (nextTasksExecutionPolicy != null)
    'nextTasksExecutionPolicy': nextTasksExecutionPolicy!,
  if (outputVariables != null) 'outputVariables': outputVariables!,
  if (pauseWorkflowExecutions != null)
    'pauseWorkflowExecutions': pauseWorkflowExecutions!,
  if (position != null) 'position': position!,
  if (properties != null) 'properties': properties!,
  if (startTasks != null) 'startTasks': startTasks!,
  if (triggerCriteria != null) 'triggerCriteria': triggerCriteria!,
  if (triggerId != null) 'triggerId': triggerId!,
  if (triggerName != null) 'triggerName': triggerName!,
  if (triggerNumber != null) 'triggerNumber': triggerNumber!,
  if (triggerType != null) 'triggerType': triggerType!,
};