toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bytesWrittenDelta != null) 'bytesWrittenDelta': bytesWrittenDelta!,
      if (elementsSampledBytes != null)
        'elementsSampledBytes': elementsSampledBytes!,
      if (elementsSampledCount != null)
        'elementsSampledCount': elementsSampledCount!,
      if (exceptionsSampledCount != null)
        'exceptionsSampledCount': exceptionsSampledCount!,
      if (pcollectionsSampledCount != null)
        'pcollectionsSampledCount': pcollectionsSampledCount!,
      if (persistenceErrorsCount != null)
        'persistenceErrorsCount': persistenceErrorsCount!,
      if (translationErrorsCount != null)
        'translationErrorsCount': translationErrorsCount!,
    };