Interpolation class final

Plain text interpolated with Sass expressions.

Implemented types

Constructors

Interpolation(Iterable<Object> contents, Iterable<FileSpan?> spans, FileSpan span)
Creates a new Interpolation with the given contents.
Interpolation.plain(String text, FileSpan span)

Properties

asPlain String?
If this contains no interpolated expressions, returns its text contents.
no setter
contents List<Object>
The contents of this interpolation.
final
hashCode int
The hash code for this object.
no setterinherited
isPlain bool
Returns whether this contains no interpolated expressions.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
span → FileSpan
The source span associated with the node.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
spanForElement(int index) → FileSpan
Returns the FileSpan covering the element of the interpolation at index.
toString() String
A string representation of this object.
override

Operators

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