channel method
Creates a Sink for the specified channel.
The add
and remove
methods of this channel are equivalent to the
respective methods of this class with the specific channel passed along.
Implementation
Sink<Event> channel(String channel) => new ProxySink(
onAdd: (e) => add(e, channels: [channel]),
onClose: () => close(channels: [channel]));