InnerSpec constructor

InnerSpec({
  1. Iterable<int>? childOrder,
  2. int? childSize,
  3. int? minPrefixLength,
  4. int? maxPrefixLength,
  5. List<int>? emptyChild,
  6. HashOp? hash,
})

Implementation

factory InnerSpec({
  $core.Iterable<$core.int>? childOrder,
  $core.int? childSize,
  $core.int? minPrefixLength,
  $core.int? maxPrefixLength,
  $core.List<$core.int>? emptyChild,
  HashOp? hash,
}) {
  final _result = create();
  if (childOrder != null) {
    _result.childOrder.addAll(childOrder);
  }
  if (childSize != null) {
    _result.childSize = childSize;
  }
  if (minPrefixLength != null) {
    _result.minPrefixLength = minPrefixLength;
  }
  if (maxPrefixLength != null) {
    _result.maxPrefixLength = maxPrefixLength;
  }
  if (emptyChild != null) {
    _result.emptyChild = emptyChild;
  }
  if (hash != null) {
    _result.hash = hash;
  }
  return _result;
}