SendBytesOptions class

Options for sending an in-memory byte payload with sendBytes.

Unlike a file send, nothing is inferred from the input: name defaults to unknown and the mime type to application/octet-stream.

Constructors

SendBytesOptions({String? topic, String? name, String? mimeType, List<String> destinationIdentities = const [], Map<String, String> attributes = const {}, bool compress = true})

Properties

attributes ↔ Map<String, String>
getter/setter pair
compress ↔ bool
See SendTextOptions.compress.
getter/setter pair
destinationIdentities ↔ List<String>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
mimeType ↔ String?
getter/setter pair
name ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topic ↔ String?
getter/setter pair

Methods

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