asList property
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 => [
for (var (key, value) in contents.pairs)
SassList([key, value], ListSeparator.space)
];