KeyVerification constructor

KeyVerification({
  1. required Encryption encryption,
  2. Room? room,
  3. required String userId,
  4. String? deviceId,
  5. void onUpdate()?,
})

Implementation

KeyVerification({
  required this.encryption,
  this.room,
  required this.userId,
  String? deviceId,
  this.onUpdate,
})  : _deviceId = deviceId,
      lastActivity = DateTime.now();