matchingVariantFields property

Map<String, String>? matchingVariantFields
getter/setter pair

If a variant Product matches the search query, this map indicates which Product fields are matched.

The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key "sku1" with field mask "products.color_info" indicates there is a match between "sku1" ColorInfo and the query.

Implementation

core.Map<core.String, core.String>? matchingVariantFields;