neg method

  1. @override
int neg(
  1. int a
)
override

Computes the additive inverse: -a.

Implementation

@override
int neg(int a) => -a;