copyWith method
Implementation
@override
MessageVoiceNote copyWith({
VoiceNote? voiceNote,
FormattedText? caption,
bool? isListened,
}) => MessageVoiceNote(
voiceNote: voiceNote ?? this.voiceNote,
caption: caption ?? this.caption,
isListened: isListened ?? this.isListened,
);