toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (batchDuration != null) 'batchDuration': batchDuration!,
  if (batchId != null) 'batchId': batchId!,
  if (durationMillis != null) 'durationMillis': durationMillis!,
  if (eventTime != null) 'eventTime': eventTime!,
  if (name != null) 'name': name!,
  if (observedMetrics != null) 'observedMetrics': observedMetrics!,
  if (runId != null) 'runId': runId!,
  if (sink != null) 'sink': sink!,
  if (sources != null) 'sources': sources!,
  if (stateOperators != null) 'stateOperators': stateOperators!,
  if (streamingQueryProgressId != null)
    'streamingQueryProgressId': streamingQueryProgressId!,
  if (timestamp != null) 'timestamp': timestamp!,
};