subscribed property
override
Implementation
@override
bool get subscribed {
// always return false when subscription is not allowed
if (!_subscriptionAllowed) return false;
return super.subscribed;
}
- @Deprecated('use subscribe() or unsubscribe() instead')
Implementation
@Deprecated('use subscribe() or unsubscribe() instead')
set subscribed(bool newValue) {
logger.fine('Setting subscribed = ${newValue}');
newValue ? subscribe() : unsubscribe();
}