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