RxList<E>.from constructor

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

Constructs an RxList containing all elements.

If growable is true, the list is growable; otherwise, it's fixed-length.

Implementation

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