setFrom<T> function

KtSet<T> setFrom<T>([
  1. Iterable<T> elements = const []
])

Returns a new read-only set based on elements. Elements of the set are iterated in the order they were specified.

Implementation

KtSet<T> setFrom<T>([Iterable<T> elements = const []]) => KtSet.from(elements);