AuditDetails constructor

const AuditDetails({
  1. required String createdBy,
  2. required int createdTime,
  3. String? lastModifiedBy,
  4. int? lastModifiedTime,
})

Implementation

const AuditDetails({
  required this.createdBy,
  required this.createdTime,
  String? lastModifiedBy,
  int? lastModifiedTime,
})  : lastModifiedBy = lastModifiedBy ?? createdBy,
      lastModifiedTime = lastModifiedTime ?? createdTime;