EMUserInfo constructor Null safety

EMUserInfo(
  1. String userId,
  2. {String? nickName,
  3. String? avatarUrl,
  4. String? mail,
  5. String? phone,
  6. int gender = 0,
  7. String? sign,
  8. String? birth,
  9. String? ext}
)

Creates a user attribute.

Param userId The username.

Implementation

EMUserInfo(
  this.userId, {
  this.nickName,
  this.avatarUrl,
  this.mail,
  this.phone,
  this.gender = 0,
  this.sign,
  this.birth,
  this.ext,
});