MarkupContent class
LSP MarkupContent (plaintext or markdown).
Constructors
- MarkupContent.from(Object? contents)
-
Parses a
MarkupContentobject, or a bare string (MarkedString), into a MarkupContent.factory - MarkupContent.markdown(String value)
-
const
- MarkupContent.plaintext(String value)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited