Predictions.fromJson constructor
Implementation
factory Predictions.fromJson(Map<String, dynamic> json) => Predictions(
predictions: json["predictions"] == null
? []
: List<Prediction>.from(
json["predictions"]!.map((x) => Prediction.fromJson(x))),
status: json["status"],
);