copyWith method

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

Implementation

Audio copyWith({
  int? duration,
  String? title,
  String? performer,
  String? fileName,
  String? mimeType,
  Minithumbnail? albumCoverMinithumbnail,
  Thumbnail? albumCoverThumbnail,
  File? audio,
}) => Audio(
  duration: duration ?? this.duration,
  title: title ?? this.title,
  performer: performer ?? this.performer,
  fileName: fileName ?? this.fileName,
  mimeType: mimeType ?? this.mimeType,
  albumCoverMinithumbnail: albumCoverMinithumbnail ?? this.albumCoverMinithumbnail,
  albumCoverThumbnail: albumCoverThumbnail ?? this.albumCoverThumbnail,
  audio: audio ?? this.audio,
);