AssetPropertyVariant class
A structure that contains an asset property value. For more information, see Variant in the AWS IoT SiteWise API Reference. For parameters that are string data type, you can specify the following options:
-
Use a string. For example, the
doubleValue
value can be'47.9'
. -
Use an expression. For example, the
doubleValue
value can be$input.TemperatureInput.sensorData.temperature
.For more information, see Expressions in the AWS IoT Events Developer Guide.
Constructors
- AssetPropertyVariant({String? booleanValue, String? doubleValue, String? integerValue, String? stringValue})
-
AssetPropertyVariant.fromJson(Map<
String, dynamic> json) -
factory
Properties
- booleanValue → String?
-
The asset property value is a Boolean value that must be
TRUE
orFALSE
. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value.final - doubleValue → String?
-
The asset property value is a double. You can also specify an expression. If
you use an expression, the evaluated result should be a double.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- integerValue → String?
-
The asset property value is an integer. You can also specify an expression.
If you use an expression, the evaluated result should be an integer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringValue → String?
-
The asset property value is a string. You can also specify an expression. If
you use an expression, the evaluated result should be a string.
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