CommunityPoolSpendProposalWithDeposit constructor

CommunityPoolSpendProposalWithDeposit({
  1. String? title,
  2. String? description,
  3. String? recipient,
  4. String? amount,
  5. String? deposit,
})

Implementation

factory CommunityPoolSpendProposalWithDeposit({
  $core.String? title,
  $core.String? description,
  $core.String? recipient,
  $core.String? amount,
  $core.String? deposit,
}) {
  final _result = create();
  if (title != null) {
    _result.title = title;
  }
  if (description != null) {
    _result.description = description;
  }
  if (recipient != null) {
    _result.recipient = recipient;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  if (deposit != null) {
    _result.deposit = deposit;
  }
  return _result;
}