clearHighlights method

ViewportModel clearHighlights()

Clears previously set highlights.

Implementation

ViewportModel clearHighlights() {
  return copyWith(highlights: [], currentHighlightIndex: -1);
}