ListDataPoliciesResponse.fromJson constructor

ListDataPoliciesResponse.fromJson(
  1. Map json_
)

Implementation

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