unregisterController method
- Object controller
Implementation
void unregisterController(Object controller) {
final record = _controllers.remove(controller);
if (record == null) return;
for (final id in record.notifierIds.toList()) {
_detachNotifier(id);
}
_pushEvent(
NeuronDebugEvent.controller(record.name, true).copyWith(
meta: {'controller': record.name},
),
);
}