onToDeviceEvent property
The onToDeviceEvent is called when there comes a new to device event. It is already decrypted if necessary.
Implementation
final CachedStreamController<ToDeviceEvent> onToDeviceEvent =
CachedStreamController();
The onToDeviceEvent is called when there comes a new to device event. It is already decrypted if necessary.
final CachedStreamController<ToDeviceEvent> onToDeviceEvent =
CachedStreamController();