toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (argument != null) 'argument': argument!,
      if (callLogLevel != null) 'callLogLevel': callLogLevel!,
      if (createTime != null) 'createTime': createTime!,
      if (disableConcurrencyQuotaOverflowBuffering != null)
        'disableConcurrencyQuotaOverflowBuffering':
            disableConcurrencyQuotaOverflowBuffering!,
      if (duration != null) 'duration': duration!,
      if (endTime != null) 'endTime': endTime!,
      if (error != null) 'error': error!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (result != null) 'result': result!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (stateError != null) 'stateError': stateError!,
      if (status != null) 'status': status!,
      if (workflowRevisionId != null)
        'workflowRevisionId': workflowRevisionId!,
    };