state property

Gets the state of the subscription set.

Implementation

SubscriptionSetState get state {
  final state = _handle.state;
  switch (state) {
    case SubscriptionSetState._uncommitted:
    case SubscriptionSetState._bootstrapping:
      return SubscriptionSetState.pending;
    default:
      return state;
  }
}