displaySegments property

List<String> get displaySegments

Path segments with the top-level module name stripped.

For ["Top", "counter", "clk"] returns ["counter", "clk"].

Implementation

List<String> get displaySegments => path.length > 1 ? path.sublist(1) : path;