static List<Bed> fromJsonList(List json) { return json.map((service) => Bed.fromJson(service)).toList(); }