PeekMarkdownExporter class final

Writes an entry as Markdown, for an issue or a pull request.

Bodies go in fenced blocks tagged with a language the media type suggests, so JSON arrives highlighted.

Constructors

PeekMarkdownExporter({int maxBodyChars = 4000})
Creates an exporter that keeps at most maxBodyChars of each body.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxBodyChars → int
How much of a body is written before it is cut short.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

export(PeekEntry entry) → String
The entry as Markdown.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited