close method
Releases the bound socket. Calling this more than once is safe.
Implementation
Future<void> close() async {
if (_closed) {
return;
}
_closed = true;
await _server.close(force: true);
}
Releases the bound socket. Calling this more than once is safe.
Future<void> close() async {
if (_closed) {
return;
}
_closed = true;
await _server.close(force: true);
}