IotTopicPublishAction class
Information required to publish the MQTT message through the AWS IoT message broker.
Constructors
- IotTopicPublishAction({required String mqttTopic, Payload? payload})
-
IotTopicPublishAction.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mqttTopic → String
-
The MQTT topic of the message. You can use a string expression that includes
variables (
$variable.<variable-name>
) and input values ($input.<input-name>.<path-to-datum>
) as the topic string.final - payload → Payload?
-
You can configure the action payload when you publish a message to an AWS
IoT Core topic.
final
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited