getSingletonSubscription method

  1. @override
StreamSubscription<T?>? getSingletonSubscription(
  1. Object singletonIdentifier, [
  2. bool singletonIdentifyByInstance = true
])
override

Returns a StreamSubscription associated with singletonIdentifier.

Implementation

@override
StreamSubscription<T?>? getSingletonSubscription(singletonIdentifier,
        [bool singletonIdentifyByInstance = true]) =>
    eventStream?.getSingletonSubscription(
        singletonIdentifier, singletonIdentifyByInstance);