contains method

bool contains(
  1. Offset position
)

Implementation

bool contains(Offset position) => bounds.contains(position);