copyWith method
RealtimeTranslationClientSecretCreateRequest
copyWith({
- RealtimeTranslationSessionCreateRequest? session,
- Object? expiresAfter = unsetCopyWithValue,
Returns a copy with the given fields replaced.
Pass null for expiresAfter to clear the existing value.
Implementation
RealtimeTranslationClientSecretCreateRequest copyWith({
RealtimeTranslationSessionCreateRequest? session,
Object? expiresAfter = unsetCopyWithValue,
}) => RealtimeTranslationClientSecretCreateRequest(
session: session ?? this.session,
expiresAfter: identical(expiresAfter, unsetCopyWithValue)
? this.expiresAfter
: expiresAfter as ExpiresAfter?,
);