RxList<E>.from constructor

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

Creates a list containing all elements.

Implementation

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