Predictions.fromJson constructor

Predictions.fromJson(
  1. dynamic json
)

Implementation

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