UserInfo constructor

UserInfo({
  1. int id = 0,
  2. String mobile = '',
  3. String nickname = '',
  4. String avatar = '',
  5. int gender = 0,
  6. String motto = '',
  7. String email = '',
  8. String birthday = '',
  9. bool isQiye = false,
  10. int isRobot = YesNo.no,
  11. int isOfficial = YesNo.no,
})

Implementation

UserInfo({
  this.id = 0,
  this.mobile = '',
  this.nickname = '',
  this.avatar = '',
  this.gender = 0,
  this.motto = '',
  this.email = '',
  this.birthday = '',
  this.isQiye = false,
  this.isRobot = YesNo.no,
  this.isOfficial = YesNo.no,
});