KeyVerification constructor
KeyVerification({
- required Encryption encryption,
- Room? room,
- required String userId,
- String? deviceId,
- void onUpdate()?,
Implementation
KeyVerification({
required this.encryption,
this.room,
required this.userId,
String? deviceId,
this.onUpdate,
}) : _deviceId = deviceId,
lastActivity = DateTime.now();