AmityUserRelationshipsRepository class

Relationship Repo to choose betweek current logged in user and explict user Id

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptMyFollower(String userId) Future<AmityFollowStatus>
Accept the pending follow request
blockUser(String userId) Future
API to block the user
declineMyFollower(String userId) Future<AmityFollowStatus>
Decline the pending follow request
follow(String userId) Future<AmityFollowStatus>
Follow this Amity User by Current logged in user
getFollowers(String userId) AmityUserFollowersQueryBuilder
Get the Followers user list for the user
getFollowInfo(String userId) Future<AmityUserFollowInfo>
Get Follow info for user Id
getFollowings(String userId) AmityUserFollowingsQueryBuilder
Get the following user list for the user
getMyFollowers() AmityMyFollowersQueryBuilder
Get the Followers user list for the user
getMyFollowInfo() Future<AmityMyFollowInfo>
Get Follow info for user Id
getMyFollowings() AmityMyFollowingsQueryBuilder
Get the following user list for the user
me() AmityMyUserRelationshipRepository
Get follow Info for current logged in user
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeMyFollower(String userId) Future<AmityFollowStatus>
Remove the user from the followers list
toString() String
A string representation of this object.
inherited
unblockUser(String userId) Future
API to unblock user
unfollow(String userId) Future<AmityFollowStatus>
Unfollow this Amity User by Current logged in user
user(String userId) AmityUserRelationshipRepository
Get follow info with user id

Operators

operator ==(Object other) bool
The equality operator.
inherited