enablePersistence method

  1. @override
Future<void> enablePersistence([
  1. PersistenceSettings? persistenceSettings
])
override

Enable persistence of Firestore data for web-only. Use Settings.persistenceEnabled for non-web platforms. If enablePersistence() is not called, it defaults to Memory cache. If enablePersistence(const PersistenceSettings(synchronizeTabs: false)) is called, it persists data for a single browser tab. If enablePersistence(const PersistenceSettings(synchronizeTabs: true)) is called, it persists data across multiple browser tabs.

Implementation

@override
Future<void> enablePersistence([PersistenceSettings? persistenceSettings]) {
  // TODO: implement enablePersistence
  throw UnimplementedError();
}