add method

Angle add(
  1. num other, [
  2. bool otherIsDegrees = false
])

Implementation

Angle add(num other, [bool otherIsDegrees = false]) {
  if (otherIsDegrees) {
    return Angle.degrees(degrees + other);
  }
  return Angle.radians(radians + other);
}