SearchFacet constructor
SearchFacet({
- StringValue? displayName,
- SearchFacet_SearchFacetType? type,
- Iterable<
SearchFacetOption> ? options, - double? minValue,
- double? maxValue,
- bool? booleanOption,
Implementation
factory SearchFacet({
$3.StringValue? displayName,
SearchFacet_SearchFacetType? type,
$core.Iterable<SearchFacetOption>? options,
$core.double? minValue,
$core.double? maxValue,
$core.bool? booleanOption,
}) {
final result = create();
if (displayName != null) result.displayName = displayName;
if (type != null) result.type = type;
if (options != null) result.options.addAll(options);
if (minValue != null) result.minValue = minValue;
if (maxValue != null) result.maxValue = maxValue;
if (booleanOption != null) result.booleanOption = booleanOption;
return result;
}