Skip to content

Commit

Permalink
Remove watchCount getter as it is never exposed
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyus authored Apr 19, 2024
1 parent 7c71581 commit 25ae22f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/lite_ref/lib/src/scoped/scoped_object.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ class ScopedObject<T> {

int _watchCount = 0;

/// The number of widgets that are currently watching this instance.
int get watchCount => _watchCount;

void _dispose() {
if (_instance == null) return;
_onDispose?.call(_instance);
Expand Down

0 comments on commit 25ae22f

Please sign in to comment.