GoogleCloudRetailV2CatalogAttribute.fromJson constructor
GoogleCloudRetailV2CatalogAttribute.fromJson(
- Map json_
Implementation
GoogleCloudRetailV2CatalogAttribute.fromJson(core.Map json_)
: this(
dynamicFacetableOption: json_.containsKey('dynamicFacetableOption')
? json_['dynamicFacetableOption'] as core.String
: null,
exactSearchableOption: json_.containsKey('exactSearchableOption')
? json_['exactSearchableOption'] as core.String
: null,
facetConfig: json_.containsKey('facetConfig')
? GoogleCloudRetailV2CatalogAttributeFacetConfig.fromJson(
json_['facetConfig'] as core.Map<core.String, core.dynamic>)
: null,
inUse:
json_.containsKey('inUse') ? json_['inUse'] as core.bool : null,
indexableOption: json_.containsKey('indexableOption')
? json_['indexableOption'] as core.String
: null,
key: json_.containsKey('key') ? json_['key'] as core.String : null,
retrievableOption: json_.containsKey('retrievableOption')
? json_['retrievableOption'] as core.String
: null,
searchableOption: json_.containsKey('searchableOption')
? json_['searchableOption'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);