ToDeviceEventDecryptionError constructor

ToDeviceEventDecryptionError({
  1. required ToDeviceEvent toDeviceEvent,
  2. required Exception exception,
  3. StackTrace? stackTrace,
})

Implementation

ToDeviceEventDecryptionError({
  required ToDeviceEvent toDeviceEvent,
  required this.exception,
  this.stackTrace,
}) : super(
        sender: toDeviceEvent.senderId,
        content: toDeviceEvent.content,
        type: toDeviceEvent.type,
      );