normalized property

List<T> normalized

Implementation

List<T> get normalized {
  if (isEmpty) {
    return this;
  }

  if (first.path > last.path) {
    return reversed.toList();
  }

  return this;
}