ProviderSubscription<T> constructor

ProviderSubscription<T>(
  1. void _cancel()
)

Creates a subscription that calls _cancel when closed.

Implementation

ProviderSubscription(this._cancel);