FormatMarkdown class

Use this class for converting String to ResultMarkdown

Constructors

FormatMarkdown()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

convertToMarkdown(MarkdownType type, String data, int fromIndex, int toIndex, {int titleSize = 1, String? link, String selectedText = ''}) ResultMarkdown
Convert data part into ResultMarkdown from type. Use fromIndex and toIndex for converting part of data titleSize is used for markdown titles link is used for link conversion type