TallyParams constructor

TallyParams({
  1. List<int>? quorum,
  2. List<int>? threshold,
  3. List<int>? vetoThreshold,
})

Implementation

factory TallyParams({
  $core.List<$core.int>? quorum,
  $core.List<$core.int>? threshold,
  $core.List<$core.int>? vetoThreshold,
}) {
  final _result = create();
  if (quorum != null) {
    _result.quorum = quorum;
  }
  if (threshold != null) {
    _result.threshold = threshold;
  }
  if (vetoThreshold != null) {
    _result.vetoThreshold = vetoThreshold;
  }
  return _result;
}