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