Send constructor
Send({
- AccountIdentifier? from,
- AccountIdentifier? to,
- ICPTs? amount,
- ICPTs? maxFee,
Implementation
factory Send({
AccountIdentifier? from,
AccountIdentifier? to,
ICPTs? amount,
ICPTs? maxFee,
}) {
final $result = create();
if (from != null) {
$result.from = from;
}
if (to != null) {
$result.to = to;
}
if (amount != null) {
$result.amount = amount;
}
if (maxFee != null) {
$result.maxFee = maxFee;
}
return $result;
}