sendToAccount method
Implementation
Future<UserTransaction> sendToAccount({
required String accountId,
required double amount,
String? receiverTerminalId,
String? senderAccountId,
String? description,
}) async {
return await invokeMethod<UserTransaction>(
(j) => UserTransaction.fromJson(j),
'sendToAccount',
{
'env': this.env.index,
'accessToken': this.accessToken,
'accountId': accountId,
'amount': amount,
'receiverTerminalId': receiverTerminalId,
'senderAccountId': senderAccountId,
'description': description,
},
);
}