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

close method

void close ()

Close the bound channel.

This function does nothing if the object is not bound.

Implementation

void close() {
  if (isBound) {
    _reader.close();
    _impl = null;

    if (onClose != null) {
      onClose();
    }
  }
}