operator - method

GeoAngle operator -(
  1. Object other
)

Subtract two angles

Implementation

GeoAngle operator -(Object other) {
  if (other is GeoAngle) {
    return GeoAngle(radian: radian - other.radian);
  } else if (other is double) {
    return GeoAngle(radian: radian - other);
  } else {
    return this;
  }
}