GroupRoom constructor
const
GroupRoom({
- Set<
String> archives = const {}, - Set<
String> blocks = const {}, - ChatValueTimestamp createdAt = const ChatValueTimestamp(),
- String createdBy = '',
- RoomExtra extra = const {},
- String id = '',
- bool isBot = false,
- bool isDeleted = false,
- bool isLocal = false,
- bool isVerified = false,
- String? lastMessage,
- bool lastMessageDeleted = false,
- String lastMessageId = '',
- String lastMessageSenderId = '',
- Map<
String, MessageStatus> lastMessageStatuses = const {}, - Set<
String> leaves = const {}, - Set<
String> mutes = const {}, - Set<
String> participants = const {}, - Set<
String> pins = const {}, - Map<
String, String> removes = const {}, - Set<
String> restricts = const {}, - Map<
String, int> unseenCounts = const {}, - ChatValueTimestamp updatedAt = const ChatValueTimestamp(),
- String? name,
- String? photo,
Implementation
const GroupRoom({
super.archives,
super.blocks,
super.createdAt,
super.createdBy,
super.extra,
super.id,
super.isBot,
super.isDeleted,
super.isLocal,
super.isVerified,
super.lastMessage,
super.lastMessageDeleted,
super.lastMessageId,
super.lastMessageSenderId,
super.lastMessageStatuses,
super.leaves,
super.mutes,
super.participants,
super.pins,
super.removes,
super.restricts,
super.unseenCounts,
super.updatedAt,
this.name,
this.photo,
}) : super(isGroup: true);