abandon method
void
abandon()
Tears the channel down when the declaration itself failed.
No sample can have arrived, so there is nothing to drain — asserting the absence is the whole content of this path.
Implementation
void abandon() {
receivePort.close();
unawaited(_controller.close());
}