true when the value changed and onChanged was emitted.bool set(T newValue) @safeSet the current value.
When the new value compares equal to the current value, no emission occurs and set returns false. Equality is `==`; for floating-point T this means a NaN value compares unequal to itself (NaN assignments always emit) while -0.0 and 0.0 compare equal (no emission).
newValue | The value to assign. |
true when the value changed and onChanged was emitted.