TokenTransfer constructor
TokenTransfer({})
Implementation
factory TokenTransfer({
$core.String? tokenMintAddress,
$core.String? senderTokenAddress,
$core.String? recipientTokenAddress,
$fixnum.Int64? amount,
$core.int? decimals,
$core.String? memo,
$core.Iterable<$core.String>? references,
}) {
final _result = create();
if (tokenMintAddress != null) {
_result.tokenMintAddress = tokenMintAddress;
}
if (senderTokenAddress != null) {
_result.senderTokenAddress = senderTokenAddress;
}
if (recipientTokenAddress != null) {
_result.recipientTokenAddress = recipientTokenAddress;
}
if (amount != null) {
_result.amount = amount;
}
if (decimals != null) {
_result.decimals = decimals;
}
if (memo != null) {
_result.memo = memo;
}
if (references != null) {
_result.references.addAll(references);
}
return _result;
}