Google is committed to advancing racial equity for Black communities. See how.

unbind method

*<Null safety>*

Channel? unbind ()

Implementation

Channel? unbind() {
  if (!isBound) {
    throw ZirconApiError('ChannelReader is not bound');
  }
  _waiter?.cancel();
  final Channel? result = _channel;
  _channel = null;
  return result;
}