PaymentIntent<T extends PaymentGateway> constructor
Implementation
PaymentIntent(String apiKey, String url, [T? httpClient])
: _apiKey = apiKey,
_url = url,
_http = httpClient ?? PaymentGateway(apiKey: apiKey, url: url) as T;