PaymentService constructor

PaymentService({
  1. required String apiKey,
  2. String host = _defaultHost,
  3. Client? client,
})

Implementation

PaymentService({
  required this.apiKey,
  this.host = _defaultHost,
  http.Client? client,
}) : client = client ?? http.Client();