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