GlobNodeSegment constructor

GlobNodeSegment(
  1. String source,
  2. int? position,
  3. bool? isRoot,
  4. List<GlobNode>? nodes,
)

Implementation

GlobNodeSegment(
    String source, int? position, bool? isRoot, List<GlobNode>? nodes)
    : super(source, position, nodes) {
  if (isRoot == null) {
    throw ArgumentError.notNull('isRoot');
  }

  _isRoot = isRoot;
}