copyWith method
Returns a copy with the given fields replaced.
Pass null for any nullable field to clear the existing value.
Implementation
RealtimeTranscriptionSessionCreateResponse copyWith({
String? id,
String? object,
String? type,
int? expiresAt,
Object? audio = unsetCopyWithValue,
Object? include = unsetCopyWithValue,
}) => RealtimeTranscriptionSessionCreateResponse(
id: id ?? this.id,
object: object ?? this.object,
type: type ?? this.type,
expiresAt: expiresAt ?? this.expiresAt,
audio: identical(audio, unsetCopyWithValue)
? this.audio
: audio as RealtimeTranscriptionSessionAudio?,
include: identical(include, unsetCopyWithValue)
? this.include
: include as List<String>?,
);