PaymentGateway constructor

const PaymentGateway({
  1. required String url,
  2. required String apiKey,
})

/ Http Client for fetch-ing and post-ing API. handles opening and closing http

Implementation

const PaymentGateway({
  required this.url,
  required this.apiKey,
});