VotingParams constructor

VotingParams({
  1. Duration? votingPeriod,
})

Implementation

factory VotingParams({
  $5.Duration? votingPeriod,
}) {
  final _result = create();
  if (votingPeriod != null) {
    _result.votingPeriod = votingPeriod;
  }
  return _result;
}