close method

  1. @override
Future close()
override

Disposes of this adapter.

Implementation

@override
Future close() {
  receivePort.close();
  _clients.clear();
  _onPublish.close();
  _onSubscribe.close();
  _onUnsubscribe.close();
  return Future.value();
}