SpeechAdaptation.fromJson constructor
SpeechAdaptation.fromJson(
- Map json_
Implementation
SpeechAdaptation.fromJson(core.Map json_)
: this(
abnfGrammar: json_.containsKey('abnfGrammar')
? ABNFGrammar.fromJson(
json_['abnfGrammar'] as core.Map<core.String, core.dynamic>)
: null,
customClasses: json_.containsKey('customClasses')
? (json_['customClasses'] as core.List)
.map((value) => CustomClass.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
phraseSetReferences: json_.containsKey('phraseSetReferences')
? (json_['phraseSetReferences'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
phraseSets: json_.containsKey('phraseSets')
? (json_['phraseSets'] as core.List)
.map((value) => PhraseSet.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);