remove method

void remove(
  1. int entity,
  2. String group
)

Remove the entity from the specified group.

Implementation

void remove(int entity, String group) {
  _entitiesByGroup[group]?.remove(entity);
  _groupsByEntity[entity]?.remove(group);
}