effectiveTitleSort property
String?
get
effectiveTitleSort
The title sort key to use: titleSort when present; otherwise, it is computed from title by moving a leading article to the end and selecting the article list from languages. Returns null when no title is available.
Implementation
String? get effectiveTitleSort {
final stored = titleSort;
if (stored != null && stored.isNotEmpty) return stored;
final value = title;
if (value == null || value.isEmpty) return null;
return computeTitleSortKey(value, language: languages.isEmpty ? null : languages.first);
}