TaskNodeSerializer class
DocumentNodeMarkdownSerializer for serializing TaskNodes using Github's style syntax.
A completed task is serialized as - [x] This is a completed task
An incomplete task is serialized as - [ ] This is an incomplete task
- Inheritance
-
- Object
- NodeTypedDocumentNodeMarkdownSerializer<
TaskNode> - TaskNodeSerializer
Constructors
- TaskNodeSerializer()
-
const
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
-
doSerialization(
Document document, TaskNode node, {NodeSelection? selection}) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
Document document, DocumentNode node, {NodeSelection? selection}) → String? -
Serializes the given
nodeto a MarkdownString.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited