startBlock method

  1. @protected
void startBlock(
  1. int line,
  2. FoldableBlockType type
)
inherited

Records that a block has started at line.

Implementation

@protected
void startBlock(int line, FoldableBlockType type) {
  _startedBlocks.add(
    _StartedFoldableBlock(line: line, type: type),
  );
}