effectWithCleanup function
Creates an effect with per-run and disposal cleanup support.
Implementation
Effect effectWithCleanup(void Function(void Function(void Function())) fn) {
return Effect.withCleanup(fn);
}
Creates an effect with per-run and disposal cleanup support.
Effect effectWithCleanup(void Function(void Function(void Function())) fn) {
return Effect.withCleanup(fn);
}