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