EndpointSendConfiguration class

Specifies the content, including message variables and attributes, to use in a message that's sent directly to an endpoint.

Constructors

EndpointSendConfiguration({String? bodyOverride, Map<String, String>? context, String? rawContent, Map<String, List<String>>? substitutions, String? titleOverride})

Properties

bodyOverride String?
The body of the message. If specified, this value overrides the default message body.
final
context Map<String, String>?
A map of custom attributes to attach to the message for the address. Attribute names are case sensitive.
final
hashCode int
The hash code for this object.
no setterinherited
rawContent String?
The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
substitutions Map<String, List<String>>?
A map of the message variables to merge with the variables specified for the default message (DefaultMessage.Substitutions). The variables specified in this map take precedence over all other variables.
final
titleOverride String?
The title or subject line of the message. If specified, this value overrides the default message title or subject line.
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