absolute property
int
get
absolute
Gets the absolute value of the integer.
Example:
print((-5).absolute); // 5
Implementation
int get absolute => toInt().abs();
Gets the absolute value of the integer.
Example:
print((-5).absolute); // 5
int get absolute => toInt().abs();