inner property

  1. @protected
  2. @override
Client inner
override

The inner Client of this WrapperClient.

The inner Client is used to make HTTP requests.

This will throw ClientException if close is called with force as true on this client.

Implementation

@protected
@override
Client get inner {
  final client = _inner;
  if (client == null) {
    throw ClientException(
      'HTTP request failed. Client is already closed.',
    );
  }
  return client;
}