UserInfo constructor

UserInfo({
  1. String oId = '',
  2. String userNo = '',
  3. String userName = '',
  4. String nickname = '',
  5. String userURL = '',
  6. String city = '',
  7. String intro = '',
  8. bool isOnline = false,
  9. int point = 0,
  10. String role = '',
  11. UserAppRole appRole = UserAppRole.Hack,
  12. String avatarURL = '',
  13. String cardBg = '',
  14. int followingCnt = 0,
  15. int followerCnt = 0,
  16. int onlineMinute = 0,
  17. String canFollow = 'hide',
  18. MetalList allMetals = const [],
  19. 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 [],
});