Skip to content

Commit

Permalink
ignore deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyus committed Mar 2, 2024
1 parent 6ebc8d1 commit dd6d87d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/state_beacon_core/lib/src/beacons/readable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ class ReadableBeacon<T> extends Producer<T> {
StreamController<T>? _controller;
VoidCallback? _unsubFromSelf;

// coverage:ignore-start
/// Returns a broadcast [Stream] that emits the current value
/// and all subsequent updates to the value of this beacon.
@Deprecated('Use toStream() instead')
Stream<T> get stream => toStream();
// coverage:ignore-end

/// Returns a broadcast [Stream] that emits the current value
/// and all subsequent updates to the value of this beacon.
Expand Down

0 comments on commit dd6d87d

Please sign in to comment.