close method

void close()

Closes the API client.

Any requests made after closing the client will fail.

Implementation

void close() {
  try {
    _httpClient.close();
  } catch (_) {}
}