GoogleCloudDialogflowV2ListKnowledgeBasesResponse.fromJson constructor

GoogleCloudDialogflowV2ListKnowledgeBasesResponse.fromJson(
  1. Map json_
)

Implementation

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