JsSdkCacheImportResult class final

The result of importJsSdkCache.

Constructors

JsSdkCacheImportResult({required JsSdkCacheImportStatus status, required String databaseName, int users = 0, int batches = 0, int documents = 0, List<String> skipped = const <String>[]})
The counts default to zero and skipped to empty, the result of a run that found nothing.
const

Properties

batches → int
The number of write batches imported (one per set, update, delete or committed WriteBatch of the app).
final
databaseName → String
The name of the JS SDK's IndexedDB database that was looked for.
final
documents → int
The number of cached documents imported (documents this cache held in the same or a newer version are not counted).
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skipped → List<String>
What was not imported, and why, one line each.
final
status → JsSdkCacheImportStatus
What was done.
final
users → int
The number of users whose pending writes were imported.
final

Methods

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

Operators

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