AttributeMap<T extends Attribute> class

Constructors

AttributeMap(Iterable<T> attributes)
factory
AttributeMap.empty()
const

Properties

hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
no setter
isNotEmpty bool
no setter
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<T>
no setter

Methods

attributeOfType<Attr extends SpecAttribute>() → Attr?
containsType(T attribute) bool
containsValue(T attribute) bool
merge(AttributeMap<T>? other) AttributeMap<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<Object, T>
toString() String
A string representation of this object.
inherited
whereType<Attr extends T>() Iterable<Attr>

Operators

operator ==(Object other) bool
The equality operator.
override