ChatUIKitProfile.contact constructor
ChatUIKitProfile.contact({})
Create a contact profile object.
id is the user id.
nickname is the user name.
avatarUrl is the user avatar address.
remark is the user remark information.
extension is the extension field.
timestamp is the timestamp.
Implementation
ChatUIKitProfile.contact({
required String id,
String? nickname,
String? avatarUrl,
String? remark,
Map<String, String>? extension,
int timestamp = 0,
}) : this(
id: id,
showName: nickname,
avatarUrl: avatarUrl,
type: ChatUIKitProfileType.contact,
extension: extension,
remark: remark,
timestamp: timestamp,
);