EventSubscription constructor

EventSubscription(
  1. CancelCallback _unsubscribe
)

Creates a new EventSubscription that will trigger the _unsubscribe on cancel.

Implementation

EventSubscription(this._unsubscribe);