Staking_Restake constructor
Staking_Restake(
{ - Int64? bucketIndex,
- int? stakedDuration,
- bool? autoStake,
- List<int>? payload,
})
Implementation
factory Staking_Restake({
$fixnum.Int64? bucketIndex,
$core.int? stakedDuration,
$core.bool? autoStake,
$core.List<$core.int>? payload,
}) {
final _result = create();
if (bucketIndex != null) {
_result.bucketIndex = bucketIndex;
}
if (stakedDuration != null) {
_result.stakedDuration = stakedDuration;
}
if (autoStake != null) {
_result.autoStake = autoStake;
}
if (payload != null) {
_result.payload = payload;
}
return _result;
}