close method

  1. @override
void close()

Closes the grant and frees its resources.

This will close the underlying HTTP client, which is shared by the Client created by this grant, so it's not safe to close the grant and continue using the client.\

Implementation

@override
void close() {
  _httpClient.close();
}