Honoring Asian Pacific American Heritage Month. See how.

passChannel method

Channel passChannel ()

Returns channel and sets channel to null.

Useful for taking ownership of the underlying channel.

Implementation

Channel? passChannel() {
  final Channel? result = _channel;
  _channel = null;
  return result;
}