UserInfo class
登陆用户的信息
Constructors
- UserInfo()
-
factory
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
-
codeLogin(
String userId, String code) → Future< WitsystemError> -
getUserInfo(
) → LoginUserEntity? - 返回用户信息
-
isLogin(
) → Future< bool> - 返回是否已经登陆
-
logout(
) → dynamic - 退出登陆
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
passwordLogin(
String userId, String password) → Future< WitsystemError> - 用户密码登陆
-
toString(
) → String -
A string representation of this object.
inherited
-
updateLoginPassword(
{required String oldPassword, required String newPassword}) → Future< WitsystemError> - 修改登录密码
-
updateTitleImg(
File file) → Future< WitsystemError> - 修改头像
-
updateUserInfo(
{String? titleImg, String? nickname}) → Future< WitsystemError> - 修改用户的信息
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited