GoogleCloudDialogflowV2ConversationModel.fromJson constructor
GoogleCloudDialogflowV2ConversationModel.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2ConversationModel.fromJson(core.Map json_)
: this(
articleSuggestionModelMetadata: json_
.containsKey('articleSuggestionModelMetadata')
? GoogleCloudDialogflowV2ArticleSuggestionModelMetadata.fromJson(
json_['articleSuggestionModelMetadata']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
datasets: json_.containsKey('datasets')
? (json_['datasets'] as core.List)
.map((value) => GoogleCloudDialogflowV2InputDataset.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
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,
smartReplyModelMetadata: json_.containsKey('smartReplyModelMetadata')
? GoogleCloudDialogflowV2SmartReplyModelMetadata.fromJson(
json_['smartReplyModelMetadata']
as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);