copyWith method

AudioMetadata copyWith({
  1. String? artist,
  2. String? title,
  3. String? album,
  4. String? genre,
  5. String? comment,
  6. String? date,
})

Implementation

AudioMetadata copyWith({
  String? artist,
  String? title,
  String? album,
  String? genre,
  String? comment,
  String? date,
}) {
  return AudioMetadata(
    artist: artist ?? this.artist,
    title: title ?? this.title,
    album: album ?? this.album,
    genre: genre ?? this.genre,
    comment: comment ?? this.comment,
    date: date ?? this.date,
  );
}