Notice constructor

const Notice({
  1. required String id,
  2. @Default(null) String? v,
  3. required String title,
  4. required String content,
  5. required NoticeStatus status,
  6. required List<DateTime> statusChanges,
  7. @Default(null) Object? attachment,
})

Implementation

const factory Notice({
  required String id,
  @Default(null) String? v,
  required String title,
  required String content,
  required NoticeStatus status,
  required List<DateTime> statusChanges,
  @Default(null) Object? attachment,
}) = _Notice;