toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (consumerId != null) 'consumerId': consumerId!,
  if (endTime != null) 'endTime': endTime!,
  if (importance != null) 'importance': importance!,
  if (labels != null) 'labels': labels!,
  if (logEntries != null) 'logEntries': logEntries!,
  if (metricValueSets != null) 'metricValueSets': metricValueSets!,
  if (operationId != null) 'operationId': operationId!,
  if (operationName != null) 'operationName': operationName!,
  if (quotaProperties != null) 'quotaProperties': quotaProperties!,
  if (resources != null) 'resources': resources!,
  if (startTime != null) 'startTime': startTime!,
  if (traceSpans != null) 'traceSpans': traceSpans!,
  if (userLabels != null) 'userLabels': userLabels!,
};