T> class Null safety
A named channel for sending events to the framework-side using streams.
This is the platform-side equivalent of EventChannel. Whereas EventChannel receives a stream of events from platform plugins, this channel sends a stream of events to the handler listening on the framework-side.
The channel name must not be null. If no codec is provided, then StandardMethodCodec is used. If no binaryMessenger is provided, then pluginBinaryMessenger, which sends messages to the framework-side, is used.
- binaryMessenger → BinaryMessenger
The messenger used by this channel to send platform messages. [...]
- codec → MethodCodec
The message codec used by this channel. [...]
Set the stream controller for this event channel.
- hashCode → int
The hash code for this object. [...]
- name → String
The logical channel on which communication happens. [...]
- runtimeType → Type
A representation of the runtime type of the object.