RxList<E> constructor
RxList<E> ([
- List<
E> initial = const <Never>[]
Constructs an RxList.
Optionally, an initial list can be provided.
Implementation
RxList([List<E> initial = const <Never>[]])
: super(initial.isNotEmpty ? initial : List<E>.empty(growable: true));