GoogleCloudDialogflowV2SpeechContext.fromJson constructor
GoogleCloudDialogflowV2SpeechContext.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2SpeechContext.fromJson(core.Map json_)
: this(
boost: json_.containsKey('boost')
? (json_['boost'] as core.num).toDouble()
: null,
phrases: json_.containsKey('phrases')
? (json_['phrases'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);