parsePlaceAutocompleteMatchedSubstringArray function
Implementation
List<PlaceAutocompleteMatchedSubstring>?
parsePlaceAutocompleteMatchedSubstringArray(List? data) {
if (data == null) return null;
final items = <PlaceAutocompleteMatchedSubstring>[];
for (final d in data) {
final item = PlaceAutocompleteMatchedSubstring.fromMap(d);
items.add(item);
}
return items;
}