setAttributeValue method

  1. @override
void setAttributeValue(
  1. Object? value
)
override

Parses value and sets this instances value.

Implementation

@override
void setAttributeValue(Object? value) {
  var valuesList = parseListOfStrings(value, delimiterPattern, true);

  if (valuesList.isEmpty) {
    // ignore: prefer_collection_literals
    _values = LinkedHashSet<String>();
  } else {
    _values = Set<String>.from(valuesList) as LinkedHashSet<String>;
  }
}