AmityUserRelationshipRepository class

Amity Relationship Repo for userId

Constructors

AmityUserRelationshipRepository({required String userId})
Init AmityUserRelationshipRepository

Properties

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

Methods

follow() Future<AmityFollowStatus>
Follow this Amity User by Current logged in user
getFollowers() AmityUserFollowersQueryBuilder
Get the Followers user list for the user
getFollowInfo() Future<AmityUserFollowInfo>
Get Follow info for user Id
getFollowings() AmityUserFollowingsQueryBuilder
Get the following user list for the user
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unfollow() Future<AmityFollowStatus>
Unfollow this Amity User by Current logged in user

Operators

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