Index class

Index

Implemented types

Constructors

Index({required String $id, required String $createdAt, required String $updatedAt, required String key, required String type, required IndexStatus status, required String error, required List<String> attributes, required List<int> lengths, List<String>? orders})
Index.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt → String
Index creation date in ISO 8601 format.
final
$id → String
Index ID.
final
$updatedAt → String
Index update date in ISO 8601 format.
final
attributes → List<String>
Index attributes.
final
error → String
Error message. Displays error generated on failure of creating or deleting an index.
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
Index key.
final
lengths → List<int>
Index attributes length.
final
orders → List<String>?
Index orders.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → IndexStatus
Index status. Possible values: available, processing, deleting, stuck, or failed
final
type → String
Index type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited