toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clientId != null) 'clientId': clientId!,
      if (cloudLoggingDetails != null)
        'cloudLoggingDetails': cloudLoggingDetails!,
      if (createTime != null) 'createTime': createTime!,
      if (errorCode != null) 'errorCode': errorCode!,
      if (errors != null) 'errors': errors!,
      if (eventExecutionDetails != null)
        'eventExecutionDetails': eventExecutionDetails!,
      if (eventExecutionInfoId != null)
        'eventExecutionInfoId': eventExecutionInfoId!,
      if (executionTraceInfo != null)
        'executionTraceInfo': executionTraceInfo!,
      if (lastModifiedTime != null) 'lastModifiedTime': lastModifiedTime!,
      if (postMethod != null) 'postMethod': postMethod!,
      if (product != null) 'product': product!,
      if (replayInfo != null) 'replayInfo': replayInfo!,
      if (requestId != null) 'requestId': requestId!,
      if (requestParams != null) 'requestParams': requestParams!,
      if (responseParams != null) 'responseParams': responseParams!,
      if (snapshotNumber != null) 'snapshotNumber': snapshotNumber!,
      if (tenant != null) 'tenant': tenant!,
      if (triggerId != null) 'triggerId': triggerId!,
      if (workflowId != null) 'workflowId': workflowId!,
      if (workflowName != null) 'workflowName': workflowName!,
      if (workflowRetryBackoffIntervalSeconds != null)
        'workflowRetryBackoffIntervalSeconds':
            workflowRetryBackoffIntervalSeconds!,
    };