update method

void update(
  1. ChangeGenericValue<T> changeGenericValue
)

Updates Observable after provided callback ends.

Useful when dealing with Observable Collections or enums etc.

Implementation

void update(ChangeGenericValue<T> changeGenericValue) {
  changeGenericValue.call(value);
  _notifyToUpdate();
}