TripleQuoted class
Triple-quoted string value (multi-line literal).
Supports both """...""" and '''...''' delimiters.
Content is taken literally — no escape sequence processing.
When the content contains the current delimiter, the alternate delimiter
is used automatically. If the content contains both """ and ''',
a single-quoted string is output instead.
Constructors
- TripleQuoted(String value, String delimiter, [SourceSpan? span])
-
TripleQuoted.fromJson(Map<
String, dynamic> json) -
factory
Properties
- delimiter → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span ↔ SourceSpan?
-
Source span for this value (optional for backwards compatibility)
getter/setter pairinherited
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setSpan(
SourceSpan span) → void -
Set the source span for this value
inherited
-
toConfigString(
) → String -
Format this value as it would appear in an i3 config file.
override
-
toJson(
) → Map< String, dynamic> -
Convert to JSON representation.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited