setPaymentOption method

Future<bool> setPaymentOption({
  1. required String option,
})

Function to set a payment option

Implementation

Future<bool> setPaymentOption({
  required String option,
}) async {
  return await channel.invokeMethod(PaymentTypeCall.paymentOption.method, {
    "option": option,
  });
}