parseString function
Parses source
string and returns DocumentNode.
Supports both GraphQL SDL and executable definitions.
Implementation
DocumentNode parseString(
String source, {
dynamic url,
}) =>
parse(
SourceFile.fromString(
source,
url: url,
),
);