Conversation class

This is the class which contains the details of the conversation.

Constructors

Conversation({String? accountId, String? asigneeId, String? createdAt, String? customerId, String? id, String? priority, bool? read, String? status, List<PapercupsMessage> messages = const []})

Properties

accountId String?
The account ID used for the conversation.
getter/setter pair
asigneeId String?
Who has the conversation assigned on the papercups dashboard.
getter/setter pair
createdAt String?
When the conversation was created.
getter/setter pair
customerId String?
The customer ID, should be unique to the person, may be assigned to multiple conversations.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique ID used to identify the conversation.
getter/setter pair
messages List<PapercupsMessage>
The messages which are part of the conversation
getter/setter pair
priority String?
How much priority the ocnvesation has.
getter/setter pair
read bool?
If the convesation has been read by an agent.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
The status of a conversation, can be open or closed.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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