GoogleCloudRetailV2CustomAttribute.fromJson constructor
GoogleCloudRetailV2CustomAttribute.fromJson(
- Map json_
Implementation
GoogleCloudRetailV2CustomAttribute.fromJson(core.Map json_)
: this(
indexable: json_.containsKey('indexable')
? json_['indexable'] as core.bool
: null,
numbers: json_.containsKey('numbers')
? (json_['numbers'] as core.List)
.map((value) => (value as core.num).toDouble())
.toList()
: null,
searchable: json_.containsKey('searchable')
? json_['searchable'] as core.bool
: null,
text: json_.containsKey('text')
? (json_['text'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);