UserUpdateProtocal<T extends UserBaseModel> class abstract

Constructors

UserUpdateProtocal.new()

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

fromUserLoginJson(Map<String, dynamic> loginJson) → T
根据登录时候返回的用户信息创建用户模型
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateUserWithUserDetailJson(Map<String, dynamic> detailJson) → void
根据获取的用户详细信息更新用户模型(特别注意:不能无脑进行覆盖, authToken 没必要更新,应保留使用登录接口返回的值,避免详细信息里不返回、返回空、返回异常的不同值)

Operators

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