getRankedCreditCardsSync method

List<CreditCard> getRankedCreditCardsSync (
  1. ShoppingCategory category
)

Implementation

List<CreditCard> getRankedCreditCardsSync(ShoppingCategory category) {
  rankCards(creditCards, category);
  return creditCards;
}