TallyResult constructor

TallyResult({
  1. String? yes,
  2. String? abstain,
  3. String? no,
  4. String? noWithVeto,
})

Implementation

factory TallyResult({
  $core.String? yes,
  $core.String? abstain,
  $core.String? no,
  $core.String? noWithVeto,
}) {
  final _result = create();
  if (yes != null) {
    _result.yes = yes;
  }
  if (abstain != null) {
    _result.abstain = abstain;
  }
  if (no != null) {
    _result.no = no;
  }
  if (noWithVeto != null) {
    _result.noWithVeto = noWithVeto;
  }
  return _result;
}