Vaani/lib/db/player_prefs/book_prefs.dart

25 lines
532 B
Dart
Raw Normal View History

2024-05-19 08:53:21 -04:00
// a table to track preferences of player for each book
2025-12-22 15:04:04 +08:00
// part 'book_prefs.g.dart';
2024-05-19 08:53:21 -04:00
/// stores the preferences of the player for a book
class BookPrefs {
int libItemId;
double? speed;
// double? volume;
// Duration? sleepTimer;
// bool? showTotalProgress;
// bool? showChapterProgress;
// bool? useChapterInfo;
BookPrefs({
required this.libItemId,
this.speed,
// this.volume,
// this.sleepTimer,
// this.showTotalProgress,
// this.showChapterProgress,
// this.useChapterInfo,
});
}