IndexEnqueued class

Constructors

IndexEnqueued({String? enqueuedAt, String? indexUid, String? status, int? taskUid, String? type})
Returns a new IndexEnqueued instance.

Properties

enqueuedAt ↔ String?
EnqueuedAt is when the task was recorded, RFC 3339 — which is also when it completed.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
indexUid ↔ String?
IndexUID names the index the write landed in.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
Status is always enqueued, for dialect compatibility. The work is already done.
getter/setter pair
taskUid ↔ int?
TaskUID identifies the task for a client that polls it. Polling resolves immediately.
getter/setter pair
type ↔ String?
Type is the dialect's name for the kind of write: indexCreation, indexDeletion, settingsUpdate, documentAdditionOrUpdate, documentDeletion.
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) → IndexEnqueued?
Returns a new IndexEnqueued instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<IndexEnqueued>
mapFromJson(dynamic json) → Map<String, IndexEnqueued>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<IndexEnqueued>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.