subscribedSubjects property
The subjects of all subscriptions that have not been cancelled.
Implementation
List<String> get subscribedSubjects => _registrations
.where((registration) => !registration.cancelled)
.map((registration) => registration.subject)
.toList();