createPaymentMethod static method

Future<PaymentMethod> createPaymentMethod(
  1. PaymentMethodRequest request
)

Implementation

static Future<PaymentMethod> createPaymentMethod(PaymentMethodRequest request) async {
  final paymentMethod = await _channel.invokeMethod("createPaymentMethod", request.toJson());
  return PaymentMethod.fromJson(paymentMethod);
}