GoogleCloudDialogflowV2SuggestSmartRepliesResponse.fromJson constructor
GoogleCloudDialogflowV2SuggestSmartRepliesResponse.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2SuggestSmartRepliesResponse.fromJson(core.Map json_)
: this(
contextSize: json_.containsKey('contextSize')
? json_['contextSize'] as core.int
: null,
latestMessage: json_.containsKey('latestMessage')
? json_['latestMessage'] as core.String
: null,
smartReplyAnswers: json_.containsKey('smartReplyAnswers')
? (json_['smartReplyAnswers'] as core.List)
.map((value) =>
GoogleCloudDialogflowV2SmartReplyAnswer.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);