Skip to content

Commit c5117d1

Browse files
committed
Fix name: isDelete -> isDeleted.
1 parent 0f699ed commit c5117d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patterns/observer/app_observer/observer/app_observer.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class AppObserver {
2121
}
2222

2323
void unsubscribe<T extends Event>(EventFunction<T> func) {
24-
final isDelete = _subscribers[T.hashCode]?.remove(func) ?? false;
24+
final isDeleted = _subscribers[T.hashCode]?.remove(func) ?? false;
2525

26-
if (isDelete) {
26+
if (isDeleted) {
2727
return;
2828
}
2929

0 commit comments

Comments
 (0)