MarkupContent class

LSP MarkupContent (plaintext or markdown).

Constructors

MarkupContent.from(Object? contents)
Parses a MarkupContent object, or a bare string (MarkedString), into a MarkupContent.
factory
MarkupContent.markdown(String value)
const
MarkupContent.plaintext(String value)
const

Properties

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

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