Staking_Restake constructor

Staking_Restake({
  1. Int64? bucketIndex,
  2. int? stakedDuration,
  3. bool? autoStake,
  4. 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;
}