reverse static method
Future<void>
reverse({
- required Transaction transaction,
- required void onSuccess(),
- required OnErrorCallBack onError,
Implementation
static Future<void> reverse({
required Transaction transaction,
required void Function(Map<String, dynamic> response) onSuccess,
required OnErrorCallBack onError,
}) {
return _bridge.invoke(
'reverse',
params: {'transaction': transaction.toMap()},
callbacks: {
'onSuccess': onSuccess,
'onError': onError,
},
);
}