DepositParams constructor

DepositParams({
  1. Iterable<Coin>? minDeposit,
  2. Duration? maxDepositPeriod,
})

Implementation

factory DepositParams({
  $core.Iterable<$2.Coin>? minDeposit,
  $5.Duration? maxDepositPeriod,
}) {
  final _result = create();
  if (minDeposit != null) {
    _result.minDeposit.addAll(minDeposit);
  }
  if (maxDepositPeriod != null) {
    _result.maxDepositPeriod = maxDepositPeriod;
  }
  return _result;
}