operator unary- method

I16 operator unary-()
override

Returns the negated value.

Implementation

I16 operator -() => I16((-value).toSigned(16));