RxList<E>.unmodifiable constructor

RxList<E>.unmodifiable(
  1. Iterable elements
)

Creates an unmodifiable list containing all elements.

Implementation

factory RxList.unmodifiable(Iterable elements) {
  return RxList(List.unmodifiable(elements));
}