Audio constructor

const Audio({
  1. required int duration,
  2. required String title,
  3. required String performer,
  4. required String fileName,
  5. required String mimeType,
  6. Minithumbnail? albumCoverMinithumbnail,
  7. Thumbnail? albumCoverThumbnail,
  8. required File audio,
})

Describes an audio file. Audio is usually in MP3 or M4A format

Implementation

const Audio({
  required this.duration,
  required this.title,
  required this.performer,
  required this.fileName,
  required this.mimeType,
  this.albumCoverMinithumbnail,
  this.albumCoverThumbnail,
  required this.audio,
});