 factory LibraryPrediction.fromJson(Map<String, dynamic> json) =>       LibraryPrediction(         openingTimeToday: json["openingTimeToday"],         openingTimeTomorrow: json["openingTimeTomorrow"],         percentagesToday: List<double>.from(             json["percentagesToday"].map((x) => x.toDouble())),         percentagesTomorrow: List<double>.from(             json["percentagesTomorrow"].map((x) => x.toDouble())),       ); 