negate method

void negate()

Negates the current value.

Implementation

void negate() => value = (-value) as T;