close method
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
void close() {
_httpClient?.close();
_httpClient = null;
}