unverifiedDevices property
List<DeviceKeys>
get
unverifiedDevices
A list of all not verified and not blocked device keys. Clients should display a warning if this list is not empty and suggest the user to verify or block those devices.
Implementation
List<DeviceKeys> get unverifiedDevices {
final userId = userID;
if (userId == null) return [];
return userDeviceKeys[userId]
?.deviceKeys
.values
.where((deviceKey) => !deviceKey.verified && !deviceKey.blocked)
.toList() ??
[];
}