ListSignal<E> constructor

ListSignal<E>(
  1. List<E> initial, {
  2. String? debugLabel,
  3. bool equals(
    1. List<E> a,
    2. List<E> b
    )?,
  4. List<E> guard(
    1. List<E> current,
    2. List<E> next
    )?,
  5. VoidCallback? onListen,
  6. VoidCallback? onCancel,
})

Implementation

ListSignal(
  List<E> initial, {
  String? debugLabel,
  super.equals,
  super.guard,
  super.onListen,
  super.onCancel,
}) : super(List<E>.from(initial), debugLabel: debugLabel);