dispose method

void dispose()

Implementation

void dispose() {
  socketNotifier!.dispose();
  socketNotifier = null;
  isDisposed = true;
}