BufferSegment constructor

const BufferSegment(
  1. BufferRange range,
  2. int line,
  3. int? start,
  4. int? end,
)

Implementation

const BufferSegment(this.range, this.line, this.start, this.end)
    : assert((start != null && end != null) ? start <= end : true);