loadAllKeys method

Future<void> loadAllKeys()

Loads and stores all keys from the online key backup. This may take a while for older and big accounts.

Implementation

Future<void> loadAllKeys() async {
  final info = await getRoomKeysBackupInfo();
  final ret = await client.getRoomKeys(info.version);
  await loadFromResponse(ret);
}