onCleanup method
Registers a cleanup callback for this effect.
The fn callback runs before this effect re-runs and when this effect
disposes.
Implementation
@override
void onCleanup(Disposer fn) => raw.onCleanup(fn);
Registers a cleanup callback for this effect.
The fn callback runs before this effect re-runs and when this effect
disposes.
@override
void onCleanup(Disposer fn) => raw.onCleanup(fn);