flatDocument property
DocumentNode
get
flatDocument
Returns flattened Document as a temporary solution before existing builders have adopted SourceNode
Implementation
DocumentNode get flatDocument => DocumentNode(
definitions: <DefinitionNode>[
...document.definitions,
...imports.expand(
(import) => import.flatDocument.definitions,
),
],
);