mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 07:44:26 +01:00
opt.: split webdav & other settings (#569)
This commit is contained in:
16
lib/data/store/no_backup.dart
Normal file
16
lib/data/store/no_backup.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
import 'package:fl_lib/fl_lib.dart';
|
||||
|
||||
final class NoBackupStore extends PersistentStore {
|
||||
NoBackupStore._() : super('no_backup');
|
||||
|
||||
static final instance = NoBackupStore._();
|
||||
|
||||
/// Only valid on iOS and macOS
|
||||
late final icloudSync = property('icloudSync', false);
|
||||
|
||||
/// Webdav sync
|
||||
late final webdavSync = property('webdavSync', false);
|
||||
late final webdavUrl = property('webdavUrl', '');
|
||||
late final webdavUser = property('webdavUser', '');
|
||||
late final webdavPwd = property('webdavPwd', '');
|
||||
}
|
||||
Reference in New Issue
Block a user