We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f699ed commit c5117d1Copy full SHA for c5117d1
patterns/observer/app_observer/observer/app_observer.dart
@@ -21,9 +21,9 @@ class AppObserver {
21
}
22
23
void unsubscribe<T extends Event>(EventFunction<T> func) {
24
- final isDelete = _subscribers[T.hashCode]?.remove(func) ?? false;
+ final isDeleted = _subscribers[T.hashCode]?.remove(func) ?? false;
25
26
- if (isDelete) {
+ if (isDeleted) {
27
return;
28
29
0 commit comments