PersistenceSettings class

A settings class that can be passed to Firestore.enablePersistence() to configure Firestore persistence. Only supported for Web.

Constructors

PersistenceSettings({required bool synchronizeTabs})
Creates a PersistenceSettings instance.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
synchronizeTabs bool
Whether to synchronize the in-memory state of multiple tabs. Setting this to true in all open tabs enables shared access to local persistence, shared execution of queries and latency-compensated local document updates across all connected instances. To enable this mode, synchronizeTabs:true needs to be set globally in all active tabs. If omitted or set to 'false', enablePersistence() will fail in all but the first tab.
final

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