abs method Null safety

  1. @override
Int64 abs()
override

Returns the absolute value of this integer.

Implementation

@override
Int64 abs() {
  return isNegative ? -this : this;
}