RxList<E>.of constructor

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

Constructs an RxList from elements.

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

Implementation

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