YamlScalarNode class final
Implementation of YamlNode representing a scalar value.
Constructors
- YamlScalarNode(String _value, [YamlNode? _parent])
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
-
get(
String key) → YamlNode? -
Returns the child node with the given
key.override -
getAll(
String key) → List< YamlNode> -
Returns all child nodes with the given
key.override -
getElements(
) → List< YamlNode> -
Returns the list of all child nodes in a sequence.
override
-
getKeys(
) → List< String> -
Returns the list of all keys in a mapping node.
override
-
getNodeType(
) → YamlNodeType -
Returns the type of this YAML node.
override
-
getText(
) → String? -
Returns the scalar value of this node.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toObject(
) → String -
Generic interface representing a parsed node in Jetleaf's structured
data model (JSON/YAML/other).
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited