FormatMarkdown class
Use this class for converting String to ResultMarkdown
Constructors
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 fromtype
. UsefromIndex
andtoIndex
for converting part ofdata
titleSize
is used for markdown titleslink
is used for link conversion type