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