TransactionNotificationRequest constructor
TransactionNotificationRequest({
- PrincipalId? from,
- Subaccount? fromSubaccount,
- PrincipalId? to,
- Subaccount? toSubaccount,
- BlockHeight? blockHeight,
- ICPTs? amount,
- Memo? memo,
Implementation
factory TransactionNotificationRequest({
$0.PrincipalId? from,
Subaccount? fromSubaccount,
$0.PrincipalId? to,
Subaccount? toSubaccount,
BlockHeight? blockHeight,
ICPTs? amount,
Memo? memo,
}) {
final $result = create();
if (from != null) {
$result.from = from;
}
if (fromSubaccount != null) {
$result.fromSubaccount = fromSubaccount;
}
if (to != null) {
$result.to = to;
}
if (toSubaccount != null) {
$result.toSubaccount = toSubaccount;
}
if (blockHeight != null) {
$result.blockHeight = blockHeight;
}
if (amount != null) {
$result.amount = amount;
}
if (memo != null) {
$result.memo = memo;
}
return $result;
}