label property

String get label

Implementation

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