image property
The image for the track, probably album art
A bit of sophistry here: images are stored per album rather than per track, for efficiency, and shared.
Implementation
@override
ImageProvider? get image {
if (super.image == null && _imageUrl is String) {
super.image = NetworkImage(_imageUrl!);
}
return super.image;
}
Implementation
set image(ImageProvider? image) => _images[_imageId] = image;