ScalarStyle enum YamlSourceNodes
Indicates how each Scalar is presented in a serialized yaml string.
Values
- literal → const ScalarStyle
-
A
blockstyle that starts with an explicit|.const ScalarStyle(NodeStyle.block) - folded → const ScalarStyle
-
A
blockstyle that starts with an explicit>const ScalarStyle(NodeStyle.block) - plain → const ScalarStyle
-
A
flowstyle that is unquoted with no explicitstartandendindicators.const ScalarStyle(NodeStyle.flow) - singleQuoted → const ScalarStyle
-
A quoted
flowstyle that uses'.const ScalarStyle(NodeStyle.flow) - doubleQuoted → const ScalarStyle
-
A quoted
flowstyle that uses".const ScalarStyle(NodeStyle.flow)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isQuoted → bool
-
Whether the style uses single/double quotes around a scalar.
no setter
- isStringWhenEmpty → bool
-
Whether the style is usually considered a string by YAML when the scalar
is empty.
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - nodeStyle → NodeStyle
-
A basic NodeStyle the ScalarStyle belongs to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ScalarStyle> - A constant List of the values in this enum, in order of their declaration.