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}) {
String str = typeAcronym;
if (indexInfo) {
str += index.toString();
}
if (levelInfo) {
str += level.toString();
}
if (hasParentInfo) {
if (_parent == null) {
str += 'F';
} else {
str += 'T';
}
}
return str;
}