onEffectRemoved method
Called when a effect is disposed.
Implementation
@override
void onEffectRemoved(Effect instance) {
if (!enabled) return;
_effectCount.remove(instance.globalId);
_effects.removeWhere((e) => e.target == instance);
_debugPostEvent('ext.signals.effectRemove', () {
return {
'id': instance.globalId,
'label': instance.debugLabel,
// 'sources': instance.sources.map((e) => e.globalId).join(','),
'value': '-1',
'type': 'effect',
};
});
}