ParserItem constructor

ParserItem(
  1. String name,
  2. ParserItemType type, [
  3. List<String>? lines
])

Implementation

ParserItem(this.name, this.type, [List<String>? lines]) {
  id = ++lastId;
  if (lines != null) {
    this.lines = lines;
  }
}