UserProfileService class

用户画像服务

Constructors

UserProfileService()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

deleteUserProfile(String userId) Future<bool>
删除用户画像
getStats() Future<Map<String, dynamic>?>
获取统计信息
getUserProfile(String userId) Future<UserProfileModel?>
获取用户画像
getUserProfileList({int page = 1, int limit = 20, String? gender}) Future<List<UserProfileModel>>
获取用户画像列表
updateUserProfile(UserProfileModel profile) Future<UserProfileModel?>
更新用户画像