RxList<E>.from constructor

RxList<E>.from(
  1. Iterable 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 elements, {bool growable = true}) {
  return RxList(List.from(elements, growable: growable));
}