of<T> function

NonEmptyList<T> of<T>(
  1. Iterable<T> items
)

Implementation

NonEmptyList<T> of<T>(Iterable<T> items) =>
    NonEmptyList<T>(List<T>.unmodifiable(items));