LxSet<E>.from constructor

LxSet<E>.from(
  1. Iterable<E> elements
)

Creates an LxSet from an existing Iterable.

Implementation

factory LxSet.from(Iterable<E> elements) {
  return LxSet<E>(Set<E>.from(elements));
}