getRelationByUserID static method
Implementation
static getRelationByUserID(String userID, List<dynamic> successUserIDList) {
for (var i = 0; i < successUserIDList.length; i++) {
var item = jsToMap(successUserIDList[i]);
if (item['userID'] == userID) {
return FriendTypeWeb.convertFromWebCheckFriendType(item['relation']);
}
}
}