supportedComparisonOptions property
set
supportedComparisonOptions
(List<ComparisonOption> ? options)
List of ComparisonOptions which client want to support.
Implementation
set supportedComparisonOptions(List<ComparisonOption>? options) {
if (options != _supportedComparisonOptions) {
assert(options != null && options.isNotEmpty);
_supportedComparisonOptions = options;
_comparisonOption = _supportedComparisonOptions!.first;
_updateValidComparisonOptions();
}
}