UpdateCondition class

Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist.

Constructors

UpdateCondition({bool? exists, String? name, String? value})

Properties

exists bool?
A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the attribute involved in the condition.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
The value of an attribute. This value can only be specified when the Exists parameter is equal to true.
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