GoogleCloudContentwarehouseV1ListSynonymSetsResponse.fromJson constructor

GoogleCloudContentwarehouseV1ListSynonymSetsResponse.fromJson(
  1. Map json_
)

Implementation

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