cancelSingletonSubscription method

  1. @override
bool cancelSingletonSubscription(
  1. Object singletonIdentifier, [
  2. bool singletonIdentifyByInstance = true
])
override

Cancels StreamSubscription associated with singletonIdentifier.

Implementation

@override
bool cancelSingletonSubscription(singletonIdentifier,
        [bool singletonIdentifyByInstance = true]) =>
    eventStream!.cancelSingletonSubscription(
        singletonIdentifier, singletonIdentifyByInstance);