Inbox constructor
Inbox({
- String id = "",
- bool isPrivate = true,
- List<
String> profileIds = const [], - InboxMessage? lastMessage,
- int createdTime = 0,
- String handlerMode = 'itzli',
- bool needsHuman = false,
- String assignedSupportId = '',
- int lastHumanAt = 0,
- int lastUserAt = 0,
- bool isSupportRoom = false,
- bool isTeamRoom = false,
- int csatScore = 0,
- int csatAt = 0,
- String supportTopic = '',
- int summaryEmailedAt = 0,
- InboxRoomKind? roomKind,
- String name = '',
- String photoUrl = '',
- String description = '',
- List<
String> adminIds = const [], - List<
String> pinnedByProfileIds = const [], - List<
String> mutedByProfileIds = const [], - String transportMode = 'cloud',
- String groupKeyId = '',
- String geohashZone = '',
Implementation
Inbox({
this.id = "",
this.isPrivate = true,
this.profileIds = const [],
this.lastMessage,
this.createdTime = 0,
this.handlerMode = 'itzli',
this.needsHuman = false,
this.assignedSupportId = '',
this.lastHumanAt = 0,
this.lastUserAt = 0,
this.isSupportRoom = false,
this.isTeamRoom = false,
this.csatScore = 0,
this.csatAt = 0,
this.supportTopic = '',
this.summaryEmailedAt = 0,
InboxRoomKind? roomKind,
this.name = '',
this.photoUrl = '',
this.description = '',
this.adminIds = const [],
this.pinnedByProfileIds = const [],
this.mutedByProfileIds = const [],
this.transportMode = 'cloud',
this.groupKeyId = '',
this.geohashZone = '',
}) : roomKind = roomKind ??
_inferKind(
rawKind: null,
isSupportRoom: isSupportRoom,
isTeamRoom: isTeamRoom,
profileIds: profileIds,
id: id,
);