getPlan method
Get the plan content for a session.
Implementation
String? getPlan({required String sessionId, String? agentId}) {
final filePath = getPlanFilePath(sessionId: sessionId, agentId: agentId);
try {
return File(filePath).readAsStringSync();
} on FileSystemException {
return null;
}
}