ProtoUpgradeVotes constructor

ProtoUpgradeVotes({
  1. Iterable<ProtoUpgradeVotes_ProtoUpgradeVote>? votes,
})

Implementation

factory ProtoUpgradeVotes({
  $core.Iterable<ProtoUpgradeVotes_ProtoUpgradeVote>? votes,
}) {
  final _result = create();
  if (votes != null) {
    _result.votes.addAll(votes);
  }
  return _result;
}