Predictions.fromJson constructor
Predictions.fromJson(
- dynamic json
Implementation
Predictions.fromJson(dynamic json) {
_description = json["description"];
_placeId = json["place_id"];
_types = json["types"] != null ? json["types"].cast<String>() : [];
}