LxList<E> constructor

LxList<E>([
  1. List<E>? initial,
  2. String? name
])

Creates a reactive list.

If initial is provided, it is used as the backing list. Otherwise, an empty list is created.

Implementation

LxList([List<E>? initial, String? name]) : super(initial ?? <E>[]);