ReplyToEmailOptions class

Constructors

ReplyToEmailOptions({required String body, required bool isHTML, String? from, String? replyTo, String? charset, List<String>? attachments = const [], Map<String, Object>? templateVariables = const {}, String? template, ReplyToEmailOptionsSendStrategyEnum? sendStrategy, bool? useInboxName, bool? html})
Returns a new ReplyToEmailOptions instance.

Properties

attachments List<String>?
List of uploaded attachments to send with the reply. Optional.
getter/setter pair
body String
Body of the reply email you want to send
getter/setter pair
charset String?
The charset that your message should be sent with. Optional. Default is UTF-8
getter/setter pair
from String?
The from header that should be used. Optional
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
html bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isHTML bool
Is the reply HTML
getter/setter pair
replyTo String?
The replyTo header that should be used. Optional
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendStrategy ReplyToEmailOptionsSendStrategyEnum?
How an email should be sent based on its recipients
getter/setter pair
template String?
Template ID to use instead of body. Will use template variable map to fill defined variable slots.
getter/setter pair
templateVariables Map<String, Object>?
Template variables if using a template
getter/setter pair
useInboxName bool?
Optionally use inbox name as display name for sender email address
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) ReplyToEmailOptions?
Returns a new ReplyToEmailOptions instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<ReplyToEmailOptions>?
mapFromJson(dynamic json) Map<String, ReplyToEmailOptions>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<ReplyToEmailOptions>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.