QueryContextLineageSubgraphRequest.fromJson constructor

QueryContextLineageSubgraphRequest.fromJson(
  1. Object? j
)

Implementation

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