MemorySection constructor

const MemorySection({
  1. required String heading,
  2. required int level,
  3. required String content,
  4. List<MemorySection> children = const [],
  5. List<String> tags = const [],
  6. DateTime? addedAt,
  7. String? addedBy,
})

Implementation

const MemorySection({
  required this.heading,
  required this.level,
  required this.content,
  this.children = const [],
  this.tags = const [],
  this.addedAt,
  this.addedBy,
});