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