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,
      );