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