Deposit constructor
Implementation
factory Deposit({
$fixnum.Int64? proposalId,
$core.String? depositor,
$core.Iterable<$2.Coin>? amount,
}) {
final _result = create();
if (proposalId != null) {
_result.proposalId = proposalId;
}
if (depositor != null) {
_result.depositor = depositor;
}
if (amount != null) {
_result.amount.addAll(amount);
}
return _result;
}