hasNeighborUp method

bool hasNeighborUp(
  1. int idx
)

Implementation

@pragma('vm:prefer-inline')
bool hasNeighborUp(int idx) => idx >= width;