contains method

bool contains(
  1. PageOffset other
)

it check if other scheme is in this scheme

Implementation

bool contains(PageOffset other) => startAt <= other.startAt && endAt >= other.endAt;