disposeClient method

  1. @override
void disposeClient()
override

Closes and dispose the socket immediately.

Implementation

@override
void disposeClient() {
  closeClient();
  if (client != null) {
    client = null;
  }
}