path method
- String separator = hierarchyPathSeparator,
Compute the full hierarchical path for this signal.
Joins the parent occurrence's path with this signal's name using
separator. Falls back to just name if parent is not yet set
(e.g. in test fixtures before buildAddresses).
Implementation
String path({String separator = hierarchyPathSeparator}) {
if (_parent == null) {
return name;
}
return '${_parent!.path(separator: separator)}$separator$name';
}