copyWith method
Implementation
VoiceNote copyWith({
int? duration,
String? waveform,
String? mimeType,
File? voice,
}) => VoiceNote(
duration: duration ?? this.duration,
waveform: waveform ?? this.waveform,
mimeType: mimeType ?? this.mimeType,
voice: voice ?? this.voice,
);