SideChainRedelegate constructor

SideChainRedelegate({
  1. List<int>? delegatorAddr,
  2. List<int>? validatorSrcAddr,
  3. List<int>? validatorDstAddr,
  4. SendOrder_Token? amount,
  5. String? chainId,
})

Implementation

factory SideChainRedelegate({
  $core.List<$core.int>? delegatorAddr,
  $core.List<$core.int>? validatorSrcAddr,
  $core.List<$core.int>? validatorDstAddr,
  SendOrder_Token? amount,
  $core.String? chainId,
}) {
  final _result = create();
  if (delegatorAddr != null) {
    _result.delegatorAddr = delegatorAddr;
  }
  if (validatorSrcAddr != null) {
    _result.validatorSrcAddr = validatorSrcAddr;
  }
  if (validatorDstAddr != null) {
    _result.validatorDstAddr = validatorDstAddr;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  if (chainId != null) {
    _result.chainId = chainId;
  }
  return _result;
}