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