Track constructor

const Track({
  1. required int trackId,
  2. required TrackType trackType,
})

Creates an instance of Track.

The trackId and trackType arguments are required.

Implementation

const Track({
  required this.trackId,
  required this.trackType,
});