convertSubscribersToArray method
Implementation
List<int> convertSubscribersToArray(List<Subscriber>? subscribers) {
List<int> subscribersArray = [];
if (subscribers == null) return subscribersArray;
for (var subscriber in subscribers) {
subscribersArray.add(subscriber.id!);
}
return subscribersArray;
}