Interpolation class final

Plain text interpolated with Sass expressions.

Implemented types

Constructors

Interpolation(Iterable<Object> contents, 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
toString() String
A string representation of this object.
override

Operators

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

Static Methods

concat(Iterable<Object> contents, FileSpan span) Interpolation
Creates a new Interpolation by concatenating a sequence of Strings, Expressions, or nested Interpolations.