setPersistenceEnabled method
Implementation
Future<bool> setPersistenceEnabled(bool enabled) async {
_persistenceEnabled = await _db?.setPersistenceEnabled(enabled);
_persistenceEnabled = _persistenceEnabled ?? false;
return Future.value(_persistenceEnabled);
}