remove static method

void remove(
  1. dynamic target
)

移除某个 target

Implementation

static void remove(dynamic target) {
  _notifiers[target]?.dispose();
  _notifiers.remove(target);
  _listeners.remove(target);
}