get Feed Cards
Guaranteed to not be null and to not include any null values in the list.
Returns a list of cards where each card belongs to at least one of the given categories. Guaranteed to not be null and to not include any null values in the list. When there are no cards in those categories, this method returns an empty list. When the passed in categories are null, all cards will be returned. When the passed in categories are an empty EnumSet, an empty list will be returned.
Return
a List of Cards for the given categories.
Parameters
categories
an EnumSet of CardCategory. Please pass in a non-empty EnumSet of CardCategory, or a null. An empty EnumSet is considered invalid.