UserRepository class
Constructors
Properties
- bytedeskHttpApi → BytedeskUserHttpApi
-
final
- bytedeskMessageHttpApi → BytedeskMessageHttpApi
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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> -
loginVisitor(
String? username, String? password) → Future< OAuth> -
logout(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
String? mobile, String? password) → Future< JsonResult> -
requestCode(
String? mobile) → Future< CodeResult> -
requestCodeJianTie(
String? mobile) → Future< CodeResult> -
requestCodeWeiyu(
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> -
uploadImage(
String? filePath) → Future< UploadJsonResult> -
uploadImageBytes(
String? fileName, List< int> ? fileBytes, String? mimeType) → Future<UploadJsonResult>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited