DataSamplingReport.fromJson constructor

DataSamplingReport.fromJson(
  1. Map json_
)

Implementation

DataSamplingReport.fromJson(core.Map json_)
    : this(
        bytesWrittenDelta: json_.containsKey('bytesWrittenDelta')
            ? json_['bytesWrittenDelta'] as core.String
            : null,
        elementsSampledBytes: json_.containsKey('elementsSampledBytes')
            ? json_['elementsSampledBytes'] as core.String
            : null,
        elementsSampledCount: json_.containsKey('elementsSampledCount')
            ? json_['elementsSampledCount'] as core.String
            : null,
        exceptionsSampledCount: json_.containsKey('exceptionsSampledCount')
            ? json_['exceptionsSampledCount'] as core.String
            : null,
        pcollectionsSampledCount:
            json_.containsKey('pcollectionsSampledCount')
                ? json_['pcollectionsSampledCount'] as core.String
                : null,
        persistenceErrorsCount: json_.containsKey('persistenceErrorsCount')
            ? json_['persistenceErrorsCount'] as core.String
            : null,
        translationErrorsCount: json_.containsKey('translationErrorsCount')
            ? json_['translationErrorsCount'] as core.String
            : null,
      );