MessageCreateRequest class

Class representing a draft message creation request

Annotations
  • @JsonSerializable.new()

Constructors

MessageCreateRequest({required String subject, required ItemBody body, String? importance, List<Recipient>? toRecipients, List<Recipient>? ccRecipients, List<Recipient>? bccRecipients, bool? saveToSentItems})
MessageCreateRequest.fromJson(Map<String, dynamic> json)
factory

Properties

bccRecipients → List<Recipient>?
The BCC recipient list for the message.
final
body → ItemBody
The body of the message.
final
ccRecipients → List<Recipient>?
The CC recipient list for the message.
final
hashCode → int
The hash code for this object.
no setterinherited
importance → String?
The importance of the message: low, normal, high.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saveToSentItems → bool?
Whether to save the message in the Sent Items folder. Exclude from JSON generation as we use this field directly.
final
subject → String
The subject of the message.
final
toRecipients → List<Recipient>?
The recipient list for the message.
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