AutoCompleteSuggestions.fromJson constructor
Implementation
factory AutoCompleteSuggestions.fromJson(Map<String, Object?> json) {
return AutoCompleteSuggestions(
results: (json[r'results'] as List<Object?>?)
?.map((i) => AutoCompleteSuggestion.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}