TListItem<T, K> class

Constructors

TListItem({required K key, required T data, bool isSelected = false, bool isExpanded = false, List<TListItem<T, K>>? children, int level = 0})
const

Properties

childCount int
no setter
children List<TListItem<T, K>>?
final
data → T
final
hasChildren bool
no setter
hashCode int
The hash code for this object.
no setteroverride
isExpanded bool
final
isSelected bool
final
key → K
final
level int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({T? data, bool? isSelected, bool? isExpanded, List<TListItem<T, K>>? children}) TListItem<T, K>
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