toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (endOffset != null) 'endOffset': endOffset!,
      if (inputRowsPerSecond != null)
        'inputRowsPerSecond': inputRowsPerSecond!,
      if (latestOffset != null) 'latestOffset': latestOffset!,
      if (metrics != null) 'metrics': metrics!,
      if (numInputRows != null) 'numInputRows': numInputRows!,
      if (processedRowsPerSecond != null)
        'processedRowsPerSecond': processedRowsPerSecond!,
      if (startOffset != null) 'startOffset': startOffset!,
    };