copyWith method

RealtimeTranscriptionSessionCreateRequest copyWith({
  1. Object? type = unsetCopyWithValue,
  2. Object? audio = unsetCopyWithValue,
  3. Object? include = unsetCopyWithValue,
})

Returns a copy with the given fields replaced.

Pass null for any nullable field to clear the existing value.

Implementation

RealtimeTranscriptionSessionCreateRequest copyWith({
  Object? type = unsetCopyWithValue,
  Object? audio = unsetCopyWithValue,
  Object? include = unsetCopyWithValue,
}) => RealtimeTranscriptionSessionCreateRequest(
  type: identical(type, unsetCopyWithValue) ? this.type : type as String?,
  audio: identical(audio, unsetCopyWithValue)
      ? this.audio
      : audio as RealtimeTranscriptionSessionAudio?,
  include: identical(include, unsetCopyWithValue)
      ? this.include
      : include as List<String>?,
);