nonEmptyList<T> method

Generator<List<T>> nonEmptyList<T>(
  1. Generator<T> item
)

A generator that returns Lists that are not empty.

Implementation

Generator<core.List<T>> nonEmptyList<T>(Generator<T> item) {
  return listWithLengthInRange(1, null, item);
}