listFrom<T> function

KtList<T> listFrom<T>([
  1. Iterable<T> elements = const []
])

Returns a new read-only list based on elements.

Implementation

KtList<T> listFrom<T>([Iterable<T> elements = const []]) =>
    KtList.from(elements);