GoogleCloudPolicysimulatorV1Replay.fromJson constructor

GoogleCloudPolicysimulatorV1Replay.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicysimulatorV1Replay.fromJson(core.Map json_)
    : this(
        config: json_.containsKey('config')
            ? GoogleCloudPolicysimulatorV1ReplayConfig.fromJson(
                json_['config'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        resultsSummary: json_.containsKey('resultsSummary')
            ? GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson(
                json_['resultsSummary']
                    as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );