UserInfo constructor
UserInfo({
- String oId = '',
- String userNo = '',
- String userName = '',
- String nickname = '',
- String userURL = '',
- String city = '',
- String intro = '',
- bool isOnline = false,
- int point = 0,
- String role = '',
- UserAppRole appRole = UserAppRole.Hack,
- String avatarURL = '',
- String cardBg = '',
- int followingCnt = 0,
- int followerCnt = 0,
- int onlineMinute = 0,
- String canFollow = 'hide',
- MetalList allMetals = const [],
- MetalList sysMetal = const [],
Implementation
UserInfo({
this.oId = '',
this.userNo = '',
this.userName = '',
this.nickname = '',
this.userURL = '',
this.city = '',
this.intro = '',
this.isOnline = false,
this.point = 0,
this.role = '',
this.appRole = UserAppRole.Hack,
this.avatarURL = '',
this.cardBg = '',
this.followingCnt = 0,
this.followerCnt = 0,
this.onlineMinute = 0,
this.canFollow = 'hide',
this.allMetals = const [],
this.sysMetal = const [],
});