RxList<E>.unmodifiable constructor Null safety

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

Creates an unmodifiable list containing all elements.

Implementation

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