LocalSecondaryIndex class

Represents the properties of a local secondary index.

Constructors

LocalSecondaryIndex({required String indexName, required List<KeySchemaElement> keySchema, required Projection projection})

Properties

hashCode int
The hash code for this object.
no setterinherited
indexName String
The name of the local secondary index. The name must be unique among all other indexes on this table.
final
keySchema List<KeySchemaElement>
The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:
final
projection Projection
Represents attributes that are copied (projected) from the table into the local secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
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