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