copyWith method

  1. @override
PageBlockVoiceNote copyWith({
  1. VoiceNote? voiceNote,
  2. PageBlockCaption? caption,
})
override

Implementation

@override
PageBlockVoiceNote copyWith({
  VoiceNote? voiceNote,
  PageBlockCaption? caption,
}) => PageBlockVoiceNote(
  voiceNote: voiceNote ?? this.voiceNote,
  caption: caption ?? this.caption,
);