UserRepository class

User Repository

Constructors

UserRepository()

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

getBlockedUsers() AmityBlockUserQueryBuilder
API to get blocked users
getUser(String userId) Future<AmityUser>
get the user with userId
getUsers() AmityAllUserQueryBuilder
get the user query builder
getViewedUsers({required AmityViewedType viewedType, required String viewedId}) → AmityQueryReachUserBuilder
API to get blocked users
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
relationship() AmityUserRelationshipsRepository
API to get relationship mapping with the user
report(String userId) AmityUserFlagRepository
Report the current user
searchUserByDisplayName(String keyword) AmityUserSearchDisplayNameQueryBuilder
Search the user by their display name
toString() String
A string representation of this object.
inherited
updateUser(String userId) UserUpdateQueryBuilder

Operators

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