SearchAllIamPoliciesResponse.fromJson constructor

SearchAllIamPoliciesResponse.fromJson(
  1. Map json_
)

Implementation

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