HttpGoPayTransport constructor

HttpGoPayTransport(
  1. Duration timeout, {
  2. Client? client,
})

Crée un HttpGoPayTransport avec le timeout spécifié et un client optionnel.

Implementation

HttpGoPayTransport(this.timeout, {http.Client? client})
    : _client = client ?? http.Client(),
      _ownsClient = client == null;