FeatureView_VertexRagSource.fromJson constructor

FeatureView_VertexRagSource.fromJson(
  1. Object? j
)

Implementation

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