markRepeatEnd method

void markRepeatEnd(
  1. Duration position
)

Sets the B point of A-B repeat.

Implementation

void markRepeatEnd(Duration position) {
  if (_repeatStart == null || position <= _repeatStart!) return;
  _repeatEnd = position;
  notifyListeners();
}