dispose method Null safety

void dispose()

Disposes of the ServerClient (i.e. disconnects from the server)

Implementation

void dispose();