primaryGroupId property
String
get
primaryGroupId
Convenience: returns the first group ID (for backward compatibility). Returns '*' if ungrouped.
Implementation
String get primaryGroupId => groupIds.isNotEmpty ? groupIds.first : '*';