isEmptySlot method

bool isEmptySlot(
  1. int i
)

Whether slot i is empty.

Implementation

bool isEmptySlot(int i) => slots[i] == null;