updateFriendAttributes method
Implementation
Future<Map<dynamic, dynamic>> updateFriendAttributes(
dynamic friendAttributes, String userID) async {
final result = await promiseToFuture(ZIM
.getInstance()!
.updateFriendAttributes(mapToJSObj(friendAttributes), userID))
.catchError(handleError);
return jsObjectToMap(result);
}