Map<String, dynamic> toJson() => { "predictions": predictions == null ? [] : List<dynamic>.from(predictions!.map((x) => x.toJson())), "status": status, };