copyWith method
Copies every field; clear flags omit optional nullable members.
Implementation
UpdateProjectApiKeyRequest copyWith({
Object? expiresInSeconds = unsetCopyWithValue,
Object? scopes = unsetCopyWithValue,
Map<String, dynamic>? rawJson,
}) => UpdateProjectApiKeyRequest(
expiresInSeconds: adminCopy<int>(
expiresInSeconds,
this.expiresInSeconds,
'UpdateProjectApiKeyRequest.expiresInSeconds',
),
scopes: adminCopyList<String>(
scopes,
this.scopes,
'UpdateProjectApiKeyRequest.scopes',
),
rawJson: rawJson ?? this.rawJson,
);