operator unary- method

  1. @override
int operator unary-()

See the num documentation

Implementation

@override
int operator -() => -value;