copyWith method
AuditRecordBean
copyWith({
- List<
AssociatedItemBean> ? associatedItems, - String? authorKey,
- String? category,
- List<
ChangedValueBean> ? changedValues, - DateTime? created,
- String? description,
- String? eventSource,
- int? id,
- AssociatedItemBean? objectItem,
- String? remoteAddress,
- String? summary,
Implementation
AuditRecordBean copyWith(
{List<AssociatedItemBean>? associatedItems,
String? authorKey,
String? category,
List<ChangedValueBean>? changedValues,
DateTime? created,
String? description,
String? eventSource,
int? id,
AssociatedItemBean? objectItem,
String? remoteAddress,
String? summary}) {
return AuditRecordBean(
associatedItems: associatedItems ?? this.associatedItems,
authorKey: authorKey ?? this.authorKey,
category: category ?? this.category,
changedValues: changedValues ?? this.changedValues,
created: created ?? this.created,
description: description ?? this.description,
eventSource: eventSource ?? this.eventSource,
id: id ?? this.id,
objectItem: objectItem ?? this.objectItem,
remoteAddress: remoteAddress ?? this.remoteAddress,
summary: summary ?? this.summary,
);
}