GoogleCloudPolicyanalyzerV1QueryActivityResponse.fromJson constructor

GoogleCloudPolicyanalyzerV1QueryActivityResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicyanalyzerV1QueryActivityResponse.fromJson(core.Map json_)
    : this(
        activities: json_.containsKey('activities')
            ? (json_['activities'] as core.List)
                .map((value) => GoogleCloudPolicyanalyzerV1Activity.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );