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