menu
drift package
documentation
web.dart
PortToChannel extension
PortToChannel extension
dark_mode
light_mode
PortToChannel
extension
Extension to transform a raw
MessagePort
from web workers into a Dart
StreamChannel
.
on
MessagePort
Methods
channel
(
)
→ StreamChannel
<
Object
?
>
Converts this port to a two-way communication channel, exposed as a
StreamChannel
.
drift package
documentation
web
PortToChannel extension
drift.web library