UserServiceImplement class

Inheritance

Constructors

UserServiceImplement({UserInfoProtocol? userInfo})

Properties

hashCode → int
The hash code for this object.
no setterinherited
responseDelegates ↔ List<UserStateChangedResponse>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

bindResponse(UserStateChangedResponse response) → void
Bind user state changed listener
override
convertUserInfo(UserInfo user) → UserInfoProtocol
dispose() → void
override
fetchUserInfos({required List<String> userIds}) → Future<List<UserInfoProtocol>>
Get user info by userIds.The frequency of api usage for free users is 100 times in 1 second.Upgrading the package can increase the usage.
override
login({required String userId, required String tokenOrPwd, bool isPassword = false}) → Future<void>
Login SDK
override
logout() → Future<void>
Logout SDK
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
unbindResponse(UserStateChangedResponse response) → void
Unbind user state changed listener
override
updateUserInfo({UserInfoProtocol? user}) → Future<void>
Update user info.The frequency of api usage for free users is 100 times in 1 second.Upgrading the package can increase the usage.
override
userFromJson(Map<String, dynamic>? json) → UserInfoProtocol?
override
userToJson(UserInfoProtocol? giftEntityProtocol) → Map<String, dynamic>?
override

Operators

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