displayLabel property

String get displayLabel

Implementation

String get displayLabel {
  final parts = <String>[model];
  final localeValue = locale?.trim();
  if (localeValue != null && localeValue.isNotEmpty) {
    parts.add(localeValue);
  }
  final themeValue = theme?.trim();
  if (themeValue != null && themeValue.isNotEmpty) {
    parts.add(themeValue);
  }
  return parts.join(' ยท ');
}