RoomKeyRequest.fromToDeviceEvent constructor

RoomKeyRequest.fromToDeviceEvent(
  1. ToDeviceEvent toDeviceEvent,
  2. KeyManager keyManager,
  3. KeyManagerKeyShareRequest request
)

Implementation

RoomKeyRequest.fromToDeviceEvent(
  ToDeviceEvent toDeviceEvent,
  this.keyManager,
  this.request,
) : super(
        sender: toDeviceEvent.sender,
        content: toDeviceEvent.content,
        type: toDeviceEvent.type,
      );