dispose method

void dispose()

Implementation

void dispose() {
  _client!.close();
  _client = null;
}