Delete class
Represents a request to perform a DeleteItem
operation.
Constructors
-
Delete({required Map<
String, AttributeValue> key, required String tableName, String? conditionExpression, Map<String, String> ? expressionAttributeNames, Map<String, AttributeValue> ? expressionAttributeValues, ReturnValuesOnConditionCheckFailure? returnValuesOnConditionCheckFailure})
Properties
- conditionExpression → String?
-
A condition that must be satisfied in order for a conditional delete to
succeed.
final
-
expressionAttributeNames
→ Map<
String, String> ? -
One or more substitution tokens for attribute names in an expression.
final
-
expressionAttributeValues
→ Map<
String, AttributeValue> ? -
One or more values that can be substituted in an expression.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Map<
String, AttributeValue> -
The primary key of the item to be deleted. Each element consists of an
attribute name and a value for that attribute.
final
- returnValuesOnConditionCheckFailure → ReturnValuesOnConditionCheckFailure?
-
Use
ReturnValuesOnConditionCheckFailure
to get the item attributes if theDelete
condition fails. ForReturnValuesOnConditionCheckFailure
, the valid values are: NONE and ALL_OLD.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tableName → String
-
Name of the table in which the item to be deleted resides.
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