Track constructor
Track({})
The constructor
Implementation
Track({
this.trackPath,
this.dataBuffer,
this.trackTitle,
this.trackAuthor,
this.albumArtUrl,
this.albumArtAsset,
this.albumArtFile,
this.codec = Codec.defaultCodec,
}) {
assert((!(trackPath != null && dataBuffer != null)),
'You cannot provide both a path and a buffer.');
}