fromJsonList static method

List<Bed> fromJsonList(
  1. List json
)

Implementation

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