ObsList<E>.from constructor

ObsList<E>.from(
  1. Iterable<E> elements, {
  2. bool growable = true,
})

Creates a list containing all the provided elements.

Implementation

factory ObsList.from(Iterable<E> elements, {bool growable = true}) =>
    ObsList(List<E>.from(elements, growable: growable));