DepositParams constructor
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;
}