getPaymentMethods method
Implementation
Future<List<PaymentMethod>> getPaymentMethods(
{required String customerId}) async {
try {
return await AnsaFlutterSdkPlatform.instance.getPaymentMethods(
customerId: customerId,
);
} catch (e) {
_logger.error('Failed to get payment methods', e);
rethrow;
}
}