toJson method

Map<String, dynamic> toJson()

Implementation

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