SideChainDelegate constructor

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

Implementation

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