ChatUIKitProfile constructor
ChatUIKitProfile({})
Constructor, used to create a profile object.
id is the user id.
showName is the show name. when type is contact, it is the user nickname, when type is group, it is the group name.
avatarUrl is the user avatar address.
type is the profile type.
extension is the extension field.
remark is the user remark information.
timestamp is the timestamp.
Implementation
ChatUIKitProfile({
required this.id,
required this.type,
this.showName,
this.avatarUrl,
this.extension,
this.remark,
this.timestamp = 0,
});