ChatUIKitProfile.group constructor

ChatUIKitProfile.group({
  1. required String id,
  2. String? groupName,
  3. String? avatarUrl,
  4. Map<String, String>? extension,
  5. int timestamp = 0,
})

Create a group profile object. id is the group id. groupName is the group name. avatarUrl is the group avatar address. extension is the extension field. timestamp is the timestamp.

Implementation

ChatUIKitProfile.group({
  required String id,
  String? groupName,
  String? avatarUrl,
  Map<String, String>? extension,
  int timestamp = 0,
}) : this(
        id: id,
        showName: groupName,
        avatarUrl: avatarUrl,
        type: ChatUIKitProfileType.group,
        extension: extension,
        timestamp: timestamp,
      );