remove method

void remove(
  1. int index
)

Removes an indexed item from the list

Implementation

void remove(int index) => _validate((state) => state.remove(index));