checkQueryString method
Implementation
bool checkQueryString(String query) {
try {
// Parses graphql query string to check if its a valid graphql query
final ast.DocumentNode _ = lang.parseString(
query,
);
return true;
} on SourceSpanException catch (_) {
return false;
}
}