Constructors
constructor
- new UserInfo(userId: string, name: string, portrait: string): UserInfo
Parameters
- userId: string
- name: string
- portrait: string
Properties
userId
userId: string = ""
name
name: string = ""
portraitUri
portraitUri: string = ""
Optional
alias
alias?: string
Optional
extra
extra?: string
Accessors
portraitUrl
- get portraitUrl(): string
Returns string
头像地址
- set portraitUrl(value: string): void
Returns void
用户信息
Version
1.0.0