WrappedMessageStream extension
Helpful methods on Streams of WrappedMessages.
- on
Methods
-
onMessage<
T extends Message> ({required String name, required T constructor(List< int> ), required void callback(T)}) → StreamSubscription<T> -
Available on Stream<
Allows callers to listen only for specific messages.WrappedMessage> , provided by the WrappedMessageStream extension