fromMarkdown method

TestDocumentConfigurator fromMarkdown(
  1. String markdown
)

Configures the editor with a Document that's parsed from the given markdown.

Implementation

TestDocumentConfigurator fromMarkdown(String markdown) {
  return TestDocumentConfigurator._(
    _widgetTester,
    deserializeMarkdownToDocument(markdown),
  );
}