toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (clientId != null) 'clientId': clientId!,
  if (ignoreErrorIfNoActiveWorkflow != null)
    'ignoreErrorIfNoActiveWorkflow': ignoreErrorIfNoActiveWorkflow!,
  if (parameters != null) 'parameters': parameters!,
  if (priority != null) 'priority': priority!,
  if (quotaRetryCount != null) 'quotaRetryCount': quotaRetryCount!,
  if (requestId != null) 'requestId': requestId!,
  if (resourceName != null) 'resourceName': resourceName!,
  if (scheduledTime != null) 'scheduledTime': scheduledTime!,
  if (testMode != null) 'testMode': testMode!,
  if (triggerId != null) 'triggerId': triggerId!,
  if (userGeneratedExecutionId != null)
    'userGeneratedExecutionId': userGeneratedExecutionId!,
  if (workflowName != null) 'workflowName': workflowName!,
};