PlacesAutocompleteResponse.fromJson constructor
Implementation
PlacesAutocompleteResponse.fromJson(Map<String, dynamic> json) {
if (json['predictions'] != null) {
predictions = [];
json['predictions'].forEach((v) {
predictions!.add(new Prediction.fromJson(v));
});
}
status = json['status'];
}