label property

String get label

Implementation

String get label => resource?.text ?? selectedText;