MessageAttributeValue class

The user-specified message attribute value. For string data types, the Value attribute has the same restrictions on the content as the message body. For more information, see SendMessage.

Name, type, value and the message body must not be empty or null. All parts of the message attribute, including Name, Type, and Value, are part of the message size restriction (256 KB or 262,144 bytes).

Constructors

MessageAttributeValue({required String dataType, List<Uint8List>? binaryListValues, Uint8List? binaryValue, List<String>? stringListValues, String? stringValue})
MessageAttributeValue.fromXml(XmlElement elem)
factory

Properties

binaryListValues List<Uint8List>?
Not implemented. Reserved for future use.
final
binaryValue Uint8List?
Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.
final
dataType String
Amazon SQS supports the following logical data types: String, Number, and Binary. For the Number data type, you must use StringValue.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringListValues List<String>?
Not implemented. Reserved for future use.
final
stringValue String?
Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.
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