modify method
user do modify value. recommended return new instance (use copyWith if is possible).
Implementation
void modify(ModifyValue<T> modify) => _setValueAndNotify(modify(value));
user do modify value. recommended return new instance (use copyWith if is possible).
void modify(ModifyValue<T> modify) => _setValueAndNotify(modify(value));