keyExpr property

String get keyExpr

The key expression this subscriber is declared on.

The declared expression as the caller gave it, whether that was a String or a KeyExpr — both entry forms of the union reach the same value.

Dart-side state, so it survives close and the session's own close. That is deliberate and matches PullSubscriber, Queryable and LivelinessToken: reading back what you declared is not an operation on the native handle, so there is nothing for a disposed-handle guard to protect.

Implementation

String get keyExpr => _keyExpr;