GoogleCloudContactcenterinsightsV1ListViewsResponse.fromJson constructor

GoogleCloudContactcenterinsightsV1ListViewsResponse.fromJson(
  1. Map json_
)

Implementation

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