GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse.fromJson constructor

GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse.fromJson(
    core.Map _json)
    : this(
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        replayResults: _json.containsKey('replayResults')
            ? (_json['replayResults'] as core.List)
                .map((value) =>
                    GoogleCloudPolicysimulatorV1beta1ReplayResult.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );