fetchCreditCardsFromDatabase method
override
Implementation
@override
Future<List<CreditCard>> fetchCreditCardsFromDatabase() async {
await Future.delayed(Duration(milliseconds: 200));
List<CreditCard> cards = [];
for (CreditCard card in cardDatabase.values) {
cards.add(card);
}
return cards;
}