closeClient method

  1. @override
void closeClient()
override

Closes the socket immediately.

Implementation

@override
void closeClient() {
  client?.close();
}