addSegment method

void addSegment(
  1. int start,
  2. int end, {
  3. bool broken = false,
})

Implementation

void addSegment(int start, int end, {bool broken = false}) {
  segments.add(AitSegment(start, end, broken: broken));
}