getRecordCard function
Implementation
Future getRecordCard(int hoyolabUid, {bool chinese = false}) async {
var cards = (await fetchGameRecordEndpoint('card/wapi/getGameRecordCard',
chinese: chinese,
kwargs: {
'params': {
'uid': hoyolabUid,
'gids': 2,
},
}))['list'];
return cards != null ? cards[0] : null;
}