Tag<E> class

Constructors

Tag.new({required String name, required E value, required bool isTag, String searchString(Tag<E>)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
isTag bool
Defines whether this Tag should behave as a tag or just a named data holder.
final
name String
The name of this Tag.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchString String Function(Tag<E>)?
The string representation that will be forced onto toString.
final
value ↔ E
The data value of this Tag.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggle() bool
Allows for toggling value between true and false given isTag true.
toString() String
A string representation of this Tag. The value returned here is used to match in a Search.
override

Operators

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