cancel method
Implementation
Future<TransactionResponseDoc> cancel({
required String operator,
required String fromAccountId,
required String targetAccountId,
required String contextId,
}) async =>
invokeAction(
operator: operator,
name: requestActionName,
fromAccountId: fromAccountId,
targetAccountId: targetAccountId,
payload: (PaymentRequest()
..status = PaymentRequest_PaymentRequestStatus.CANCELED)
.writeToBuffer(),
contextId: contextId,
);