displayText property

String get displayText

Implementation

String get displayText => text.isEmpty ? 'No title' : text;