enablePersistence method

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

Enable persistence of Firestore data.

This is a web-only method. Use Settings.persistenceEnabled for non-web platforms.

Implementation

Future<void> enablePersistence([
  PersistenceSettings? persistenceSettings,
]) async {
  return _delegate.enablePersistence(persistenceSettings);
}