CompletePayment constructor

const CompletePayment({
  1. Key? key,
  2. required Function onSuccess,
  3. required Function onError,
  4. required Function onCancel,
  5. required PaypalServices services,
  6. required String url,
  7. required String executeUrl,
  8. required String accessToken,
})

Implementation

const CompletePayment({
  Key? key,
  required this.onSuccess,
  required this.onError,
  required this.onCancel,
  required this.services,
  required this.url,
  required this.executeUrl,
  required this.accessToken,
}) : super(key: key);