MessageOptions class

Constructors

MessageOptions.new()

Properties

attributes Attributes?
getter/setter pair
body String?
getter/setter pair
filename String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputPath String?
getter/setter pair
mimeType String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toPigeon() MessageOptionsData
toString() String
A string representation of this object.
inherited
withAttributes(Attributes attributes) → void
Set new message attributes.
withBody(String body) → void
Create message with given body text.
withMedia(File input, String mimeType) → void
Create message with given media stream.
withMediaFileName(String filename) → void
Provide optional filename for media.
withMediaProgressListener({void onStarted()?, void onProgress(int bytes)?, void onCompleted(String mediaSid)?}) → void

Operators

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