freezer/lib/api/download_manager/database.dart
Pato05 7a119d281c
fix email login, fix spotify importer
migrate to dio instead of http, with unique cookiejar
2023-10-21 01:12:33 +02:00

33 lines
781 B
Dart

import 'package:freezer/api/definitions.dart';
import 'package:isar/isar.dart';
@collection
class Track {
Id id = Isar.autoIncrement;
final String trackId;
final String title;
final String albumId;
final List<String> artistIds;
//final DeezerImageDetails albumArt;
final int? trackNumber;
final bool offline;
//final Lyrics lyrics;
final bool favorite;
final int? diskNumber;
final bool explicit;
Track({
required this.trackId,
required this.title,
required this.albumId,
required this.artistIds,
//required this.albumArt,
required this.trackNumber,
//required this.lyrics,
required this.favorite,
required this.diskNumber,
required this.explicit,
this.offline = true,
});
}