AmityMyUserRelationshipRepository class

Amity Relation Repo for Current User

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

accept(String userId) Future<AmityFollowStatus>
Accept the pending follow request
decline(String userId) Future<AmityFollowStatus>
Decline the pending follow request
getBlockedUsers() AmityBlockUserQueryBuilder
API to get blocked users
getFollowers() AmityMyFollowersQueryBuilder
Get Followers user list
getFollowInfo() Future<AmityMyFollowInfo>
Get Follow info for the user
getFollowings() AmityMyFollowingsQueryBuilder
Get following user list
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeFollower(String userId) Future<AmityFollowStatus>
Remove the user from the followers list
toString() String
A string representation of this object.
inherited
unfollow(String userId) Future<AmityFollowStatus>
Unfollow the user from the following list

Operators

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