onClosed method

bool onClosed(
  1. RelayConnectionKey key,
  2. String subscriptionId,
  3. String? message
)

A CLOSED for subscriptionId. Returns whether this handler owns that subscription, in which case RelayManager does not treat it as a REQ.

Implementation

bool onClosed(
  RelayConnectionKey key,
  String subscriptionId,
  String? message,
) => false;