# close method | |
void close | |
() | |
<p>Close the bound channel.</p> | |
<p>This function does nothing if the object is not bound.</p> | |
## Implementation | |
```dart | |
void close() { | |
if (isBound) { | |
_reader.close(); | |
_impl = null; | |
final callback = onClose; | |
if (callback != null) { | |
callback(); | |
} | |
} | |
} | |
``` | |