1. Dart
2. dart:core
3. int
4. abs abstract method

##### int class

1. Constructors
2. fromEnvironment
3. Properties
4. bitLength
5. hashCode
6. isEven
7. isFinite
8. isInfinite
9. isNaN
10. isNegative
11. isOdd
12. runtimeType
13. sign
14. Methods
15. abs
16. ceil
17. ceilToDouble
18. clamp
19. compareTo
20. floor
21. floorToDouble
22. gcd
23. modInverse
24. modPow
25. noSuchMethod
26. remainder
27. round
28. roundToDouble
29. toDouble
30. toInt
31. toRadixString
32. toSigned
33. toString
34. toStringAsExponential
35. toStringAsFixed
36. toStringAsPrecision
37. toUnsigned
38. truncate
39. truncateToDouble
40. Operators
41. operator %
42. operator &
43. operator *
44. operator +
45. operator -
46. operator /
47. operator <
48. operator <<
49. operator <=
50. operator ==
51. operator >
52. operator >=
53. operator >>
54. operator ^
55. operator unary-
56. operator |
57. operator ~
58. operator ~/
59. Static methods
60. parse
61. tryParse

description

# abs method Null safety

int abs ()
override

Returns the absolute value of this integer.

For any integer `x`, the result is the same as `x < 0 ? -x : x`.

## Implementation

    int abs();