ListEndpointPoliciesResponse.fromJson constructor

ListEndpointPoliciesResponse.fromJson(
  1. Map json_
)

Implementation

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