getAllSubscriptions method
return a list of all subscriptions that match a given identifier
allows for subscribing to a channel multiple times
Implementation
List<HotlineSubscription> getAllSubscriptions(String identifier) {
return subscriptions
.where((subscription) => subscription.identifier == identifier)
.toList();
}