matchesValueOrSmaller method

bool matchesValueOrSmaller(
  1. T match
)

true if match is associated with a corresponding Breakpoint that is exactly or smaller than the current breakpointValue

If distinct Breakpoints have the same value, only the largest (first) match will be used for comparison.

Throws an ArgumentError if match doesn't exist in the breakpoints

Implementation

bool matchesValueOrSmaller(T match) => breakpoint <= _firstBreakpointWithValue(match);