label property

String get label

Implementation

String get label => name.isEmpty ? id : name;