copyWith method
AuditRecord
copyWith({
- AuditRecordAuthor? author,
- String? remoteAddress,
- int? creationDate,
- String? summary,
- String? description,
- String? category,
- bool? sysAdmin,
- bool? superAdmin,
- AffectedObject? affectedObject,
- List<
ChangedValue> ? changedValues, - List<
AffectedObject> ? associatedObjects,
Implementation
AuditRecord copyWith(
{AuditRecordAuthor? author,
String? remoteAddress,
int? creationDate,
String? summary,
String? description,
String? category,
bool? sysAdmin,
bool? superAdmin,
AffectedObject? affectedObject,
List<ChangedValue>? changedValues,
List<AffectedObject>? associatedObjects}) {
return AuditRecord(
author: author ?? this.author,
remoteAddress: remoteAddress ?? this.remoteAddress,
creationDate: creationDate ?? this.creationDate,
summary: summary ?? this.summary,
description: description ?? this.description,
category: category ?? this.category,
sysAdmin: sysAdmin ?? this.sysAdmin,
superAdmin: superAdmin ?? this.superAdmin,
affectedObject: affectedObject ?? this.affectedObject,
changedValues: changedValues ?? this.changedValues,
associatedObjects: associatedObjects ?? this.associatedObjects,
);
}