AuditRecord constructor

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

Implementation

AuditRecord(
    {required this.author,
    required this.remoteAddress,
    required this.creationDate,
    required this.summary,
    required this.description,
    required this.category,
    required this.sysAdmin,
    bool? superAdmin,
    required this.affectedObject,
    required this.changedValues,
    required this.associatedObjects})
    : superAdmin = superAdmin ?? false;