searchCardsByQuery static method
Implementation
static Future<List<MtgCard>> searchCardsByQuery(String query) async {
try {
PaginableList<MtgCard> result = await _apiClient.searchCards(query);
return result.data;
} catch (e) {
throw Exception("Failed to search for cards with query '$query': $e");
}
}