Honoring Asian Pacific American Heritage Month. 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;
}