getCardsByIds method
Loads card states matching the list of cardIds, maintaining order where possible.
Implementation
@override
Future<List<SRSCardState>> getCardsByIds(List<String> cardIds) async {
return cardIds
.map((id) => _store[id])
.where((s) => s != null)
.cast<SRSCardState>()
.toList();
}