SassList.empty constructor

const SassList.empty({
  1. ListSeparator? separator,
  2. bool brackets = false,
})

Returns an empty list with the given separator and brackets.

The separator defaults to ListSeparator.undecided, and brackets defaults to false.

Implementation

const SassList.empty({ListSeparator? separator, bool brackets = false})
    : _contents = const [],
      _separator = separator ?? ListSeparator.undecided,
      _hasBrackets = brackets;