copyWith method

  1. @override
PushMessageContentVoiceNote copyWith({
  1. VoiceNote? voiceNote,
  2. bool? isPinned,
})
override

Implementation

@override
PushMessageContentVoiceNote copyWith({
  VoiceNote? voiceNote,
  bool? isPinned,
}) => PushMessageContentVoiceNote(
  voiceNote: voiceNote ?? this.voiceNote,
  isPinned: isPinned ?? this.isPinned,
);