copyWith method

AuditRecordCreate copyWith({
  1. AuditRecordCreateAuthor? author,
  2. String? remoteAddress,
  3. int? creationDate,
  4. String? summary,
  5. String? description,
  6. String? category,
  7. bool? sysAdmin,
  8. AffectedObject? affectedObject,
  9. List<ChangedValue>? changedValues,
  10. List<AffectedObject>? associatedObjects,
})

Implementation

AuditRecordCreate copyWith(
    {AuditRecordCreateAuthor? author,
    String? remoteAddress,
    int? creationDate,
    String? summary,
    String? description,
    String? category,
    bool? sysAdmin,
    AffectedObject? affectedObject,
    List<ChangedValue>? changedValues,
    List<AffectedObject>? associatedObjects}) {
  return AuditRecordCreate(
    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,
    affectedObject: affectedObject ?? this.affectedObject,
    changedValues: changedValues ?? this.changedValues,
    associatedObjects: associatedObjects ?? this.associatedObjects,
  );
}