GoogleCloudPolicysimulatorV1ListReplayResultsResponse.fromJson constructor

GoogleCloudPolicysimulatorV1ListReplayResultsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicysimulatorV1ListReplayResultsResponse.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) =>
                    GoogleCloudPolicysimulatorV1ReplayResult.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );