formateFriendInfoFailInfoList static method
Implementation
static List<dynamic> formateFriendInfoFailInfoList(
List<dynamic> faileList, List<dynamic> successUserIDList) {
return faileList
.map((e) => {
"resultCode": jsToMap(e)['code'],
"resultInfo": jsToMap(e)['message'],
"relation": getRelationByUserID(
jsToMap(e)['userID'] as String, successUserIDList),
"friendInfo": formateFriendInfo(jsToMap(e))
})
.toList();
}