detachPaymentMethod method
Detach a payment method and refresh the store if there are any active listeners.
Implementation
Future<Map> detachPaymentMethod(String paymentMethodId) async {
final paymentMethodFuture = await _customerSession.detachPaymentMethod(paymentMethodId);
await refresh();
return paymentMethodFuture;
}