Skip to content

Commit 381205b

Browse files
committed
🎨 annotate streamController getter for testing visibility
1 parent 944be81 commit 381205b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/hyper_storage/lib/src/managed_stream.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ abstract class ManagedStream<E> with Stream<E> {
8888
/// This allows subclasses to check if a value has been cached using
8989
/// `streamController.hasValue` to implement custom error handling logic.
9090
@protected
91+
@visibleForTesting
9192
BehaviorSubject<E> get streamController => _streamController;
9293

9394
int _subscriptionCount = 0;

0 commit comments

Comments
 (0)