getTransactions method
Implementation
Future<TransactionResult> getTransactions({
required String customerId,
String? cursor,
}) async {
try {
return await AnsaFlutterSdkPlatform.instance.getTransactions(
customerId: customerId,
cursor: cursor,
);
} catch (e) {
_logger.error('Failed to get transactions', e);
rethrow;
}
}