ScalarStyle class

An enum of source scalar styles.

Properties

hashCode int
The hash code for this object.
no setterinherited
isQuoted bool
Whether this is a quoted style (SINGLE_QUOTED or DOUBLE_QUOTED).
no setter
name String
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

ANY → const ScalarStyle
No source style was specified.
DOUBLE_QUOTED → const ScalarStyle
The double-quoted scalar style.
FOLDED → const ScalarStyle
The folded scalar style, with a > prefix.
LITERAL → const ScalarStyle
The literal scalar style, with a | prefix.
PLAIN → const ScalarStyle
The plain scalar style, unquoted and without a prefix.
SINGLE_QUOTED → const ScalarStyle
The single-quoted scalar style.