RxList<E>.of constructor

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

Creates a list from elements.

Implementation

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