Returns the greatest common divisor of this and other.
other
12.gcd(8) // 4
int gcd(int other) { var a = toInt().abs(); var b = other.abs(); while (b != 0) { final t = b; b = a % b; a = t; } return a; }