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 Publish.
Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes). For more information, see Amazon SNS message attributes and Publishing to a mobile phone in the Amazon SNS Developer Guide.
Constructors
- MessageAttributeValue({required String dataType, Uint8List? binaryValue, String? stringValue})
Properties
- binaryValue → Uint8List?
-
Binary type attributes can store any binary data, for example, compressed
data, encrypted data, or images.
final
- dataType → String
-
Amazon SNS supports the following logical data types: String, String.Array,
Number, and Binary. For more information, see Message
Attribute Data Types.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringValue → String?
-
Strings are Unicode with UTF8 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