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