SpellResult.fromJson constructor
SpellResult.fromJson(
- Map json_
Implementation
SpellResult.fromJson(core.Map json_)
: this(
suggestedQuery: json_['suggestedQuery'] as core.String?,
suggestedQueryHtml:
json_.containsKey('suggestedQueryHtml')
? SafeHtmlProto.fromJson(
json_['suggestedQueryHtml']
as core.Map<core.String, core.dynamic>,
)
: null,
suggestionType: json_['suggestionType'] as core.String?,
);