asList property

List<Value> get asList

This value as a list.

All SassScript values can be used as lists. Maps count as lists of pairs, and all other values count as single-value lists.

Implementation

List<Value> get asList => [this];