ReasoningEngineContextSpec.fromJson constructor

ReasoningEngineContextSpec.fromJson(
  1. Object? j
)

Implementation

factory ReasoningEngineContextSpec.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return ReasoningEngineContextSpec(
    memoryBankConfig: switch (json['memoryBankConfig']) {
      null => null,
      Object $1 => ReasoningEngineContextSpec_MemoryBankConfig.fromJson($1),
    },
  );
}