NamedAttribution class

Attribution that is defined by a given String.

Any two NamedAttributions with the same id/name are considered equivalent and merge-able.

Implemented types

Constructors

NamedAttribution(String id)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
id String
Attributions with different IDs can overlap each other, but attributions with the same ID cannot overlap.
final
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canMergeWith(Attribution other) bool
Returns true if this Attribution can be combined with the other Attribution, replacing both smaller attributions with one larger attribution.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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