level property
num
get
level
Gets or sets the number of single-parent ancestors this node has.
This could also be interpreted as which layer this node is in. A root node will have a value of zero.
This informational property is computed in TreeLayout#doLayout when building the tree structures. You should probably not be setting this property.
Implementation
_i2.num get level => _i4.getProperty(
this,
'level',
);
set
level
(num value)
Implementation
set level(_i2.num value) {
_i4.setProperty(
this,
'level',
value,
);
}