GetRooms method

Future<List<EmailAddress>> GetRooms(
  1. EmailAddress emailAddress
)
Retrieves a collection of all rooms in the specified room list in the organization. The e-mail address of the room list.

Implementation

Future<List<EmailAddress>> GetRooms(EmailAddress emailAddress) async {
  EwsUtilities.ValidateParam(emailAddress, "emailAddress");

  GetRoomsRequest request = GetRoomsRequest(this);

  request.RoomList = emailAddress;

  return (await request.Execute()).Rooms;
}