NotifyRequest constructor
NotifyRequest({
- BlockHeight? blockHeight,
- ICPTs? maxFee,
- Subaccount? fromSubaccount,
- PrincipalId? toCanister,
- Subaccount? toSubaccount,
Implementation
factory NotifyRequest({
BlockHeight? blockHeight,
ICPTs? maxFee,
Subaccount? fromSubaccount,
$0.PrincipalId? toCanister,
Subaccount? toSubaccount,
}) {
final $result = create();
if (blockHeight != null) {
$result.blockHeight = blockHeight;
}
if (maxFee != null) {
$result.maxFee = maxFee;
}
if (fromSubaccount != null) {
$result.fromSubaccount = fromSubaccount;
}
if (toCanister != null) {
$result.toCanister = toCanister;
}
if (toSubaccount != null) {
$result.toSubaccount = toSubaccount;
}
return $result;
}