Supply constructor

Supply({
  1. Iterable<Coin>? total,
})

Implementation

factory Supply({
  $core.Iterable<$2.Coin>? total,
}) {
  final _result = create();
  if (total != null) {
    _result.total.addAll(total);
  }
  return _result;
}