fromJsonList static method

List<Room> fromJsonList(
  1. List json
)

Implementation

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