disposeClient method

  1. @override
void disposeClient()
override

Closes and dispose the socket immediately.

Implementation

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