getSingletonSubscription method
Returns a StreamSubscription associated with singletonIdentifier
.
Implementation
StreamSubscription<T?>? getSingletonSubscription(Object singletonIdentifier,
[bool singletonIdentifyByInstance = true]) {
var signature =
_getListenSignature(singletonIdentifier, singletonIdentifyByInstance);
return signature?.subscription as StreamSubscription<T?>?;
}