UserRepository class Null safety

Constructors

UserRepository()

Properties

bytedeskHttpApi BytedeskUserHttpApi
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

bindMobile(String? mobile) Future<JsonResult>
changePassword(String? mobile, String? password) Future<JsonResult>
follow(String? uid) Future<JsonResult>
getProfile() Future<User>
isFollowed(String? uid) Future<bool>
login(String? username, String? password) Future<OAuth>
logout() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
register(String? mobile, String? password) Future<JsonResult>
requestCode(String? mobile) Future<CodeResult>
smsOAuth(String? mobile, String? code) Future<OAuth>
toString() String
A string representation of this object. [...]
inherited
unfollow(String? uid) Future<JsonResult>
unionIdOAuth(String? unionid) Future<OAuth>
updateAvatar(String? avatar) Future<User>
updateBirthday(String? birthday) Future<User>
updateDescription(String? description) Future<User>
updateLocation(String? location) Future<User>
updateMobile(String? mobile) Future<User>
updateNickname(String? nickname) Future<User>
updateSex(bool? sex) Future<User>
upload(String? filePath) Future<String>

Operators

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