label property

String get label

The name to show people: displayName when present, otherwise name.

Implementation

String get label => (displayName?.trim().isNotEmpty ?? false) ? displayName!.trim() : name;