add method

Future<MemoryEntry> add({
  1. required String text,
  2. String type = 'note',
  3. List<String> tags = const [],
  4. double importance = 0.5,
  5. String scope = 'project',
})

Adds a memory entry (project scope by default).

Implementation

Future<MemoryEntry> add({
  required String text,
  String type = 'note',
  List<String> tags = const [],
  double importance = 0.5,
  String scope = 'project',
}) => _redirectPackagePrints(
  () => _addImpl(
    text: text,
    type: type,
    tags: tags,
    importance: importance,
    scope: scope,
  ),
);