copyWith method
VoiceNote
copyWith({
- int? duration,
- String? waveform,
- String? mimeType,
- SpeechRecognitionResult? speechRecognitionResult,
- File? voice,
Implementation
VoiceNote copyWith({
int? duration,
String? waveform,
String? mimeType,
SpeechRecognitionResult? speechRecognitionResult,
File? voice,
}) =>
VoiceNote(
duration: duration ?? this.duration,
waveform: waveform ?? this.waveform,
mimeType: mimeType ?? this.mimeType,
speechRecognitionResult:
speechRecognitionResult ?? this.speechRecognitionResult,
voice: voice ?? this.voice,
);