dispose method

void dispose()

Closes the real client, if one was ever made. Called by the harness at the end of the body — see _real.

Implementation

void dispose() {
  _real?.close(force: true);
  _real = null;
}