StringAttachment class
- Inheritance
-
- Object
- Attachment
- StringAttachment
Constructors
- StringAttachment(String _data, {String? contentType, String? fileName})
Properties
-
additionalHeaders
→ Map<
String, String> -
Additional headers that will be added to the attachment after all of the standard headers are set.
This is useful for adding, for example, "X-Attachment-Id" to an attachment, which is used by
gmail when referencing an image in
<img src="cid:...">
.finalinherited - cid ↔ String?
-
getter/setter pairinherited
- contentType ↔ String
-
getter/setter pairinherited
- fileName ↔ String?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- location ↔ Location
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
asStream(
) → Stream< List< int> > -
override
-
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