hasAttributeValue property

  1. @override
bool get hasAttributeValue
override

Returns true if has a value.

Implementation

@override
bool get hasAttributeValue {
  if (_values.isNotEmpty) {
    if (_values.length == 1) {
      return _values[0].isNotEmpty;
    } else {
      return true;
    }
  }
  return false;
}