PlacesPredictions.fromJson constructor
Implementation
PlacesPredictions.fromJson(Map<String, dynamic> json) {
status = json['status'];
predictions = json.containsKey('predictions') && json['predictions'] != null
? (json['predictions'] as List).map((data) => PlaceResponse.fromJson(data)).toList(): null;
}