GoogleCloudDialogflowV2KnowledgeBase.fromJson constructor

GoogleCloudDialogflowV2KnowledgeBase.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2KnowledgeBase.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );