List<String> get paths { return <String>{ path, for (final child in (nodes)) ...child.paths, }.toList(); }