loadArchive method

Future<List<Room>> loadArchive()

Fetch all the archived rooms from the server and return the list of the room. If you want to have the Timelines bundled with it, use loadArchiveWithTimeline instead.

Implementation

Future<List<Room>> loadArchive() async {
  return (await loadArchiveWithTimeline()).map((e) => e.room).toList();
}