GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson constructor

GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson(core.Map json_)
    : this(
        differenceCount: json_.containsKey('differenceCount')
            ? json_['differenceCount'] as core.int
            : null,
        errorCount: json_.containsKey('errorCount')
            ? json_['errorCount'] as core.int
            : null,
        logCount: json_.containsKey('logCount')
            ? json_['logCount'] as core.int
            : null,
        newestDate: json_.containsKey('newestDate')
            ? GoogleTypeDate.fromJson(
                json_['newestDate'] as core.Map<core.String, core.dynamic>)
            : null,
        oldestDate: json_.containsKey('oldestDate')
            ? GoogleTypeDate.fromJson(
                json_['oldestDate'] as core.Map<core.String, core.dynamic>)
            : null,
        unchangedCount: json_.containsKey('unchangedCount')
            ? json_['unchangedCount'] as core.int
            : null,
      );