ProposalList constructor

ProposalList({
  1. Iterable<Proposal>? proposals,
})

Implementation

factory ProposalList({
  $core.Iterable<$0.Proposal>? proposals,
}) {
  final _result = create();
  if (proposals != null) {
    _result.proposals.addAll(proposals);
  }
  return _result;
}