ExampleStoreConfig.fromJson constructor

ExampleStoreConfig.fromJson(
  1. Object? j
)

Implementation

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