rooms method

Iterable<Room> rooms()

Iterate through a sequence of random rooms generated within the configured constraints

Implementation

Iterable<Room> rooms() sync* {
  yield nextRoom();
}