setUnchecked method

  1. @Deprecated('Use setUnsafe instead')
void setUnchecked(
  1. Pos pos,
  2. E value
)

Sets the element at a position in the grid.

If the position is not within the bounds of the grid, the behavior is undefined. This method is intended to be used in cases where the position can be trusted, such as an iterator or other trusted synchronous operations.

Implementation

@Deprecated('Use setUnsafe instead')
void setUnchecked(Pos pos, E value) => setUnsafe(pos, value);