AlphaXAppClient.owned constructor

AlphaXAppClient.owned(
  1. AlphaXClient client, {
  2. required String baseUrl,
  3. Duration? timeout,
})

Creates a facade that closes client when close is called.

Implementation

AlphaXAppClient.owned(
  AlphaXClient client, {
  required String baseUrl,
  Duration? timeout,
}) : this._(
       client,
       baseUrl: baseUrl,
       timeout: timeout,
       ownsClient: true,
     );