close static method
Closes a port. Posts to a closed port are dropped, mirroring
Dart_PostCObject on a closed native port.
Implementation
static void close(int port) => _handlers.remove(port);
Closes a port. Posts to a closed port are dropped, mirroring
Dart_PostCObject on a closed native port.
static void close(int port) => _handlers.remove(port);