ProtoUpgradeVotes_ProtoUpgradeVote constructor

ProtoUpgradeVotes_ProtoUpgradeVote({
  1. List<int>? voter,
  2. int? upgrade,
})

Implementation

factory ProtoUpgradeVotes_ProtoUpgradeVote({
  $core.List<$core.int>? voter,
  $core.int? upgrade,
}) {
  final _result = create();
  if (voter != null) {
    _result.voter = voter;
  }
  if (upgrade != null) {
    _result.upgrade = upgrade;
  }
  return _result;
}