LightSubscription<T> constructor Null safety

LightSubscription<T>(
  1. RemoveSubscription<T> _removeSubscription,
  2. {void onPause(
      )?,
    1. void onResume(
        )?,
      1. FutureOr<void> onCancel(
          )?}
        )

        Implementation

        LightSubscription(this._removeSubscription,
            {this.onPause, this.onResume, this.onCancel});