ResponsePoliciesListResponse.fromJson constructor

ResponsePoliciesListResponse.fromJson(
  1. Map json_
)

Implementation

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