channel method

Channel channel(
  1. String name, {
  2. Keyset? keyset,
  3. String? using,
})

Returns a representation of a channel.

Useful if you need to work on only one channel.

Implementation

Channel channel(String name, {Keyset? keyset, String? using}) {
  keyset ??= keysets[using];

  return Channel(this, keyset, name);
}