isAt method

bool isAt(
  1. int position
)

Implementation

bool isAt(int position) => index == position;