MutableSignal<T>.late constructor

MutableSignal<T>.late({
  1. void onChange(
    1. T value
    )?,
  2. T set(
    1. T newValue
    )?,
  3. bool compare(
    1. T oldValue,
    2. T newValue
    ) = _defaultCompare,
})

Implementation

factory MutableSignal.late({
  void Function(T value)? onChange,
  T Function(T newValue)? set,
  bool Function(T oldValue, T newValue) compare = _defaultCompare,
}) =>
    _MutableSignal.late(onChange: onChange, set: set, compare: compare);