abs method Null safety
The absolute value of this number.
The absolute value is the value itself, if the value is non-negative,
and -value
if the value is negative.
Implementation
num abs();
The absolute value of this number.
The absolute value is the value itself, if the value is non-negative,
and -value
if the value is negative.
num abs();