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 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, }); }