BlockEntry constructor

BlockEntry(
  1. BlockEntryType entryType,
  2. Searcher searcher, {
  3. Searcher? searcherEnd,
  4. bool optional = false,
})

Implementation

BlockEntry(this.entryType, this.searcher,
    {this.searcherEnd, this.optional = false}) {
  assert(entryType != BlockEntryType.startEndSequence || searcherEnd != null);
}