setPersistenceEnabled method
Sets persisted on-device (disk) storage
Implementation
//ignore:avoid_positional_boolean_parameters
bool setPersistenceEnabled(bool enabled) {
_db?.setPersistenceEnabled(enabled);
return _persistenceEnabled = enabled;
}