Inbox class

Constructors

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 = ''})
Inbox.fromJSON(dynamic data)

Properties

adminIds ↔ List<String>
Profile IDs with administrator permissions in group rooms.
getter/setter pair
assignedSupportId ↔ String
Profile id of the support agent handling this thread (when human).
getter/setter pair
createdTime ↔ int
getter/setter pair
csatAt ↔ int
When the CSAT score was submitted (ms).
getter/setter pair
csatScore ↔ int
Customer satisfaction score (1–5) the user gave after a human session. 0 = not rated.
getter/setter pair
description ↔ String
Group description, neighborhood distance label, or channel subtitle.
getter/setter pair
geohashZone ↔ String
Geohash / spatial zone code for distance/proximity channels.
getter/setter pair
groupKeyId ↔ String
Symmetric group key identifier (GroupEpochKey) for offline/BLE groups.
getter/setter pair
handlerMode ↔ String
Who is currently driving the conversation: 'itzli' (AI first responder) or 'human' (a Customer Support agent took over).
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
getter/setter pair
isGroup → bool
True when this room represents a multi-participant group, team, collective, or community.
no setter
isMeshBacked → bool
True when this room uses BLE / Wi-Fi / Río Colmena mesh transport.
no setter
isNearbyChannel → bool
True when this room is a proximity / distance mesh channel.
no setter
isPrivate ↔ bool
getter/setter pair
isSupportRoom ↔ bool
True for Customer Support threads ({profileId}_support) so the ERP can list every support room the moment it's created.
getter/setter pair
isTeamRoom ↔ bool
True for the shared internal team channel (team_room).
getter/setter pair
lastHumanAt ↔ int
Last time a human agent posted (so Itzli knows the latest human context).
getter/setter pair
lastMessage ↔ InboxMessage?
getter/setter pair
lastUserAt ↔ int
Last time the end user wrote (queue ordering / SLA).
getter/setter pair
messages ↔ List<InboxMessage>?
getter/setter pair
mutedByProfileIds ↔ List<String>
Profile IDs who muted notifications for this room.
getter/setter pair
name ↔ String
Display title for groups, nearby distance channels, collectives, or communities.
getter/setter pair
needsHuman ↔ bool
True when Itzli couldn't resolve and a human agent is needed → the thread surfaces in the Atención al Cliente queue.
getter/setter pair
photoUrl ↔ String
Avatar URL for groups or channels.
getter/setter pair
pinnedByProfileIds ↔ List<String>
Profile IDs who pinned this conversation to the top of their inbox.
getter/setter pair
profileIds ↔ List<String>
getter/setter pair
roomKind ↔ InboxRoomKind
Room classification across Open Neom apps (direct, group, nearbyZone, etc.).
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
summaryEmailedAt ↔ int
Last time an AI "unresolved summary" email was sent to the user (ms) — guards against re-emailing when the user reopens/closes the room without new activity.
getter/setter pair
supportTopic ↔ String
Itzli-classified support topic (cobros/cupones/reproduccion/cuenta/otro) used for the A&S topic-distribution chart and the self-training KB.
getter/setter pair
transportMode ↔ String
Active transport policy ('cloud', 'mesh', 'hybrid').
getter/setter pair

Methods

isMutedBy(String profileId) → bool
isPinnedBy(String profileId) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() → Map<String, dynamic>
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited