DataStoreHubEventType enum

The type of the DataStore Hub event.

Inheritance

Constructors

DataStoreHubEventType()
const

Values

ready → const DataStoreHubEventType

Dispatched when DataStore as a whole is ready, at this point all data is available

networkStatus → const DataStoreHubEventType

Dispatched when DataStore starts and every time network status changes

subscriptionsEstablished → const DataStoreHubEventType

Dispatched when DataStore has finished establishing its subscriptions to all models

syncQueriesStarted → const DataStoreHubEventType

Dispatched when DataStore is about to perform its initial sync queries

modelSynced → const DataStoreHubEventType

Dispatched once for each model after the model instances have been synced from the cloud

syncQueriesReady → const DataStoreHubEventType

Dispatched when all models have been synced from the cloud

outboxMutationEnqueued → const DataStoreHubEventType

Dispatched when a local change has been newly staged for synchronization with the Cloud

outboxMutationProcessed → const DataStoreHubEventType

Dispatched when a local change has finished synchronization with the Cloud and is updated locally

outboxMutationFailed → const DataStoreHubEventType

ANDROID ONLY - Dispatched when publishing a mutation fails

outboxStatus → const DataStoreHubEventType

Dispatched when:

  • the DataStore starts
  • each time a local mutation is enqueued into the outbox
  • each time a local mutation is finished processing
subscriptionDataProcessed → const DataStoreHubEventType

Dispatched when a subscription has processed a new item from the remote

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<DataStoreHubEventType>
A constant List of the values in this enum, in order of their declaration.