SideChainUndelegate constructor

SideChainUndelegate({
  1. List<int>? delegatorAddr,
  2. List<int>? validatorAddr,
  3. SendOrder_Token? amount,
  4. String? chainId,
})

Implementation

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