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;
}