ObjectOptions.fromJson constructor
ObjectOptions.fromJson(
- Map json_
Implementation
ObjectOptions.fromJson(core.Map json_)
: this(
displayOptions: json_.containsKey('displayOptions')
? ObjectDisplayOptions.fromJson(json_['displayOptions']
as core.Map<core.String, core.dynamic>)
: null,
freshnessOptions: json_.containsKey('freshnessOptions')
? FreshnessOptions.fromJson(json_['freshnessOptions']
as core.Map<core.String, core.dynamic>)
: null,
suggestionFilteringOperators:
json_.containsKey('suggestionFilteringOperators')
? (json_['suggestionFilteringOperators'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);