RxList<E> constructor

RxList<E>([
  1. List<E> initial = const []
])

Constructs an RxList.

Optionally, an initial list can be provided.

Implementation

RxList([List<E> initial = const []])
    : super(initial.isNotEmpty ? initial : List<E>.empty(growable: true));