removeById method

void removeById(
  1. TId id
)

Implementation

void removeById(TId id) {
  removeWhere((item) => getId(item) == id);
}