wireId property
Get the wire identifier for grouping - uses parentName, then parentId, then name, then id
Implementation
String get wireId {
if (parentName.isNotEmpty) {
return parentName;
}
if (parentId != null && parentId!.isNotEmpty) {
return parentId!;
}
if (name.isNotEmpty) {
return name;
}
return id;
}