at method

NotationPage? at(
  1. int line
)

The page line (1-based) is in; null for a line that is the app's.

Implementation

NotationPage? at(int line) {
  for (final p in pages) {
    if (p.holds(line)) return p;
  }
  return null;
}