MsgSubmitProposal constructor

MsgSubmitProposal({
  1. Any? content,
  2. Iterable<Coin>? initialDeposit,
  3. String? proposer,
})

Implementation

factory MsgSubmitProposal({
  $3.Any? content,
  $core.Iterable<$2.Coin>? initialDeposit,
  $core.String? proposer,
}) {
  final _result = create();
  if (content != null) {
    _result.content = content;
  }
  if (initialDeposit != null) {
    _result.initialDeposit.addAll(initialDeposit);
  }
  if (proposer != null) {
    _result.proposer = proposer;
  }
  return _result;
}