close method
Close this client and any underlying resources.
The client should not be used after this is called and unexpected behavior may occur.
Implementation
@override
Future<void> close() {
logger.info('Closing client');
return _doClose(this, () async {
await gateway.close();
httpHandler.close();
}, options.plugins);
}