copyWith method

LinkPreviewTypeVoiceNote copyWith({
  1. VoiceNote? voiceNote,
})

Implementation

LinkPreviewTypeVoiceNote copyWith({
  VoiceNote? voiceNote,
}) =>
    LinkPreviewTypeVoiceNote(
      voiceNote: voiceNote ?? this.voiceNote,
    );