effectScope function
Implementation
EffectStop<EffectScope> effectScope(void Function() fn) {
final scope = _EffectScope();
system.runEffectScope(scope, fn);
return EffectStop(scope);
}
EffectStop<EffectScope> effectScope(void Function() fn) {
final scope = _EffectScope();
system.runEffectScope(scope, fn);
return EffectStop(scope);
}