Unsubscribe constructor

Unsubscribe(
  1. String method,
  2. SubscriptionId id
)

Creates a method handler for subscription cancellations.

Implementation

Unsubscribe(
  super.method,
  final SubscriptionId id,
) : super(
        values: [id],
      );