Subgraph.fromStatements constructor
Create a subgraph from a list of statements.
Implementation
factory Subgraph.fromStatements({
String? id,
required List<Statement> statements,
}) =>
Subgraph(
id,
StmtList(statements),
);
Create a subgraph from a list of statements.
factory Subgraph.fromStatements({
String? id,
required List<Statement> statements,
}) =>
Subgraph(
id,
StmtList(statements),
);