MemoryEntry constructor

MemoryEntry({
  1. required Content content,
  2. Map<String, Object?>? customMetadata,
  3. String? id,
  4. String? author,
  5. String? timestamp,
})

Creates a memory entry.

Implementation

MemoryEntry({
  required this.content,
  Map<String, Object?>? customMetadata,
  this.id,
  this.author,
  this.timestamp,
}) : customMetadata = customMetadata ?? <String, Object?>{};