Vaani/lib/db/player_prefs/book_prefs.dart
2026-01-10 14:43:59 +05:30

29 lines
679 B
Dart

// // a table to track preferences of player for each book
// import 'package:isar/isar.dart';
// part 'book_prefs.g.dart';
// /// stores the preferences of the player for a book
// @Collection()
// @Name('BookPrefs')
// class BookPrefs {
// @Id()
// 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,
// });
// }