disposeId method

void disposeId(
  1. Object id
)

Disposes a specific listener group.

This removes the group from future updates. IDs are registered by widgets like GetBuilder() to link state changes with specific widgets.

Implementation

void disposeId(Object id) {
  _updatersGroupIds?[id]?.dispose();
  _updatersGroupIds!.remove(id);
}