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

unbind method

Socket unbind ()

Implementation

Socket unbind() {
  if (!isBound) {
    throw ZirconApiError('SocketReader is not bound');
  }
  _waiter.cancel();
  final Socket result = _socket;
  _socket = null;
  return result;
}