copyWith method

AuditRecordBean copyWith({
  1. List<AssociatedItemBean>? associatedItems,
  2. String? authorKey,
  3. String? category,
  4. List<ChangedValueBean>? changedValues,
  5. DateTime? created,
  6. String? description,
  7. String? eventSource,
  8. int? id,
  9. AssociatedItemBean? objectItem,
  10. String? remoteAddress,
  11. 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,
  );
}