TreeElement<T> class Null safety

Constructors

TreeElement(T value, TreeElement<T>? parent)

Properties

children List<TreeElement<T>>?
read / write
hasChildren bool
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
parent TreeElement<T>?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value ↔ T
read / write

Methods

addChild(T child) TreeElement<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
render(StringBuffer buffer, [String padding = '']) → void
toString() String
A string representation of this object. [...]
override

Operators

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