absolute differentce in dart code example Example: dart Absolute value void main() { var a = -2; print(a.abs()); }