OrgPlanningLine class
A planning line, like
SCHEDULED: <2021-12-09 Thu>
or
CLOSED: [2021-12-09 Thu 12:02]
- Inheritance
-
- Object
- OrgNode
- OrgParentNode
- OrgPlanningLine
- Mixed in types
Constructors
- OrgPlanningLine(String indent, OrgKeyword keyword, OrgContent body, String trailing, [String? id])
Properties
- body → OrgContent
-
final
-
children
→ List<
OrgNode> -
The children of this node. May be empty (no children) or null (an object
that can't have children).
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
A unique ID for this node. Use this to identify nodes across edits via
OrgTree.edit, because OrgParentNodes can be recreated and thus will
not be equal via identical.
finalinherited
- indent → String
-
Indenting whitespace
final
- keyword → OrgKeyword
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trailing → String
-
Trailing whitespace
final
Methods
-
contains(
Pattern pattern) → bool -
Return true if this node or any of its children recursively match the
supplied
pattern
override -
copyWith(
{String? indent, OrgKeyword? keyword, OrgContent? body, String? trailing, String? id}) → OrgPlanningLine -
find<
T extends OrgNode> (bool predicate(T), [OrgPath path = const []]) → ({T node, OrgPath path})? -
Find the first node in the AST that satisfies
predicate
. Specify a typeT
to only visit nodes of that type. Returns a tuple of the node and its path from the root of the tree, or null if no node is found.inherited -
fromChildren(
List< OrgNode> children) → OrgPlanningLine -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMarkup(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
-
visit<
T extends OrgNode> (bool visitor(T)) → bool -
Walk AST with
visitor
. Specify a typeT
to only visit nodes of that type. The visitor function must returntrue
to continue iterating, orfalse
to stop.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited