close method

  1. @override
Future close()
override

Closes the transport client (and any underlying HTTP client).

Implementation

@override
Future close() async {
  if (_shouldCloseClient) {
    _httpClient.close();
  }
}