feat(cache): Add lightweight in-memory cache with TTL and LRU eviction
This commit is contained in:
@@ -23,4 +23,14 @@ sealed class Tool with _$Tool {
|
||||
meta: json['meta'] as Map<String, dynamic>?,
|
||||
);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
return {
|
||||
'id': id,
|
||||
'name': name,
|
||||
'description': description,
|
||||
'user_id': userId,
|
||||
'meta': meta,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user