UserApi mixin
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
-
checkQrCode({required String key, int type = 3})
→ Future<StringEntity?>
-
检测二维码
-
loginCellPhone({required String phone, String? password, String? captcha, String countryCode = '86', String clientType = 'android', bool rememberLogin = true, bool https = true})
→ Future<LoginEntity?>
-
登录手机号接口
-
logout()
→ Future<BoolEntity?>
-
退出登录
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
qrCode({required String key})
→ String
-
二维码
-
qrCodeKey({int type = 3})
→ Future<QrcodeKeyEntity?>
-
二维码key
-
sendSmsCode({required String phone, String ctcode = '86'})
→ Future<BoolEntity?>
-
发送验证码
-
toString()
→ String
-
A string representation of this object.
inherited
-
userInfo()
→ Future<UserInfoEntity?>
-
用户信息(需登录)
-
userLikeList({required String uid})
→ Future<LikeListEntity?>
-
用户喜欢的歌曲列表
-
userPlaylist({required String uid, int limit = 30, int offset = 0, bool includeVideo = true})
→ Future<UserPlaylistEntity?>
-
用户歌单
-
verifySmsCode({required String phone, required String captcha, String ctcode = '86'})
→ Future<BoolEntity?>
-
验证验证码