negate method
void
negate()
Reassign the state value with the negated current value (current * -1)
Implementation
void negate() {
setValue((this.getValue() * -1) as T);
}
Reassign the state value with the negated current value (current * -1)
void negate() {
setValue((this.getValue() * -1) as T);
}