LabeledList<T>.withLabel constructor

LabeledList<T>.withLabel(
  1. List<T> items, [
  2. String? label
])

Implementation

LabeledList.withLabel(List<T> items, [String? label])
    : this(items, label != null ? (() => label) : null);