maybeRequestAll method

Future<void> maybeRequestAll([
  1. List<DeviceKeys>? devices
])

Implementation

Future<void> maybeRequestAll([List<DeviceKeys>? devices]) async {
  for (final type in cacheTypes) {
    if (keyIdsFromType(type) != null) {
      final secret = await getCached(type);
      if (secret == null) {
        await request(type, devices);
      }
    }
  }
}