Post class

Represents a post in a conversation thread.

Annotations
  • @JsonSerializable.new()

Constructors

Post({String? id, Recipient? sender, List<Recipient>? recipients, String? subject, ItemBody? body, DateTime? createdDateTime, DateTime? lastModifiedDateTime, List<String>? categories, List<String>? changeKey, bool? hasAttachments, String? importance, String? conversationId, String? conversationThreadId})
Post.empty()
const
Post.fromJson(Map<String, dynamic> json)
factory

Properties

body → ItemBody?
The body of the post.
final
categories → List<String>?
The categories associated with the post.
final
changeKey → List<String>?
The changes that have been made to the post.
final
conversationId → String?
The unique ID of the conversation.
final
conversationThreadId → String?
The unique ID of the conversation thread.
final
createdDateTime → DateTime?
The date and time when the post was created.
final
hasAttachments → bool?
Indicates whether the post has attachments.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The unique identifier for the post.
final
importance → String?
The importance of the post.
final
lastModifiedDateTime → DateTime?
The date and time when the post was last modified.
final
recipients → List<Recipient>?
The recipients of the post.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → Recipient?
The sender of the post.
final
subject → String?
The subject of the post.
final

Methods

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

Operators

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