copyWith method
AuditRecordAuthor
copyWith(
{ - AuditRecordAuthorType? type,
- String? displayName,
- Map<String, dynamic>? operations,
- String? username,
- String? userKey,
- String? accountId,
- String? accountType,
- bool? externalCollaborator,
- bool? isExternalCollaborator,
- String? publicName,
})
Implementation
AuditRecordAuthor copyWith(
{AuditRecordAuthorType? type,
String? displayName,
Map<String, dynamic>? operations,
String? username,
String? userKey,
String? accountId,
String? accountType,
bool? externalCollaborator,
bool? isExternalCollaborator,
String? publicName}) {
return AuditRecordAuthor(
type: type ?? this.type,
displayName: displayName ?? this.displayName,
operations: operations ?? this.operations,
username: username ?? this.username,
userKey: userKey ?? this.userKey,
accountId: accountId ?? this.accountId,
accountType: accountType ?? this.accountType,
externalCollaborator: externalCollaborator ?? this.externalCollaborator,
isExternalCollaborator:
isExternalCollaborator ?? this.isExternalCollaborator,
publicName: publicName ?? this.publicName,
);
}