transform method

LiveData<T> transform(
  1. T setter(
    1. T
    )
)

Implementation

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