UnstakeBody constructor
UnstakeBody({
- PublicKeyHash? operator,
- ValueTransferOutput? withdrawal,
- int? fee,
- int? nonce,
Implementation
factory UnstakeBody({
PublicKeyHash? operator,
ValueTransferOutput? withdrawal,
int? fee,
int? nonce,
}) {
final _result = create();
if (operator != null) {
_result.operator = operator;
}
if (withdrawal != null) {
_result.withdrawal = withdrawal;
}
if (fee != null) {
_result.fee = Int64(fee);
}
if (nonce != null) {
_result.nonce = Int64(nonce);
}
return _result;
}