GoogleCloudDialogflowV2Message.fromJson constructor
GoogleCloudDialogflowV2Message.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2Message.fromJson(core.Map json_)
: this(
content: json_.containsKey('content')
? json_['content'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
languageCode: json_.containsKey('languageCode')
? json_['languageCode'] as core.String
: null,
messageAnnotation: json_.containsKey('messageAnnotation')
? GoogleCloudDialogflowV2MessageAnnotation.fromJson(
json_['messageAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
participant: json_.containsKey('participant')
? json_['participant'] as core.String
: null,
participantRole: json_.containsKey('participantRole')
? json_['participantRole'] as core.String
: null,
sendTime: json_.containsKey('sendTime')
? json_['sendTime'] as core.String
: null,
sentimentAnalysis: json_.containsKey('sentimentAnalysis')
? GoogleCloudDialogflowV2SentimentAnalysisResult.fromJson(
json_['sentimentAnalysis']
as core.Map<core.String, core.dynamic>)
: null,
);