NIMChatroomMember constructor Null safety

NIMChatroomMember(
  1. {required String roomId,
  2. required String account,
  3. required NIMChatroomMemberType memberType,
  4. required String? nickname,
  5. String? avatar,
  6. Map<String, dynamic>? extension,
  7. bool isOnline = true,
  8. bool isInBlackList = false,
  9. bool isMuted = false,
  10. bool isTempMuted = false,
  11. int? tempMuteDuration,
  12. bool? isValid = true,
  13. int? enterTime,
  14. List<String>? tags,
  15. String? notifyTargetTags}
)

Implementation

NIMChatroomMember({
  required this.roomId,
  required this.account,
  required this.memberType,
  required this.nickname,
  this.avatar,
  this.extension,
  this.isOnline = true,
  this.isInBlackList = false,
  this.isMuted = false,
  this.isTempMuted = false,
  this.tempMuteDuration,
  this.isValid = true,
  this.enterTime,
  this.tags,
  this.notifyTargetTags,
});