hierarchy method
Converts layout's hierarchical structure to a debug String.
Implementation
String hierarchy(
{bool indexInfo = false,
bool levelInfo = false,
bool hasParentInfo = false,
bool nameInfo = false}) {
if (_root == null) {
return '';
}
return _root!.hierarchy(
indexInfo: indexInfo,
levelInfo: levelInfo,
hasParentInfo: hasParentInfo,
nameInfo: nameInfo);
}