normalizedForSearch property
String
get
normalizedForSearch
Normalize Arabic text for search
Implementation
String get normalizedForSearch {
return withoutDiacritics
.replaceAll(RegExp(r'\s+'), ' ') // Normalize whitespace
.trim()
.toLowerCase();
}