patch method

LiveData<T> patch(
  1. void setter(
    1. T
    )
)

Implementation

LiveData<T> patch(void Function(T) setter) {
  setter(_currentValue);
  // value = _currentValue;
  _set(_currentValue, verifyDataChange);
  return this;
}