close method

void close ()

Implementation

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

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