*<Null safety>*
void close ([int? statusCode])
Close the bound channel.
This function does nothing if the object is not bound.
Implementation
void close([int? statusCode]) {
if (isBound) {
if (statusCode != null) {
_writeEpitaph(statusCode);
}
_reader.close();
_impl = null;
state = InterfaceState.closed;
}
}