Im trying to get some wilaya based on pattern but its not working, there is the code snippet :
`List getWilayaSuggestionUsingPattern(
String pattern,
) {
if(pattern.isEmpty){
return [];
}
final wilayas = dzair.searchWilayatByName(pattern, language) ?? [];
List<String> wilayasSuggestion = [];
wilayasSuggestion.addAll(
wilayas.map((e) => e!.getWilayaName(language)!)
);
return wilayasSuggestion;
}`
for example if i enter "chent" to get "Ain-Temouchent" => i get nothing both in arabic and english.