SuggestionClusterProto.fromJson constructor
SuggestionClusterProto.fromJson(
- Map json_
Implementation
SuggestionClusterProto.fromJson(core.Map json_)
: this(
category: json_.containsKey('category')
? json_['category'] as core.String
: null,
suggestions: json_.containsKey('suggestions')
? (json_['suggestions'] as core.List)
.map((value) => SuggestionProto.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);