isApproximately method

  1. @override
bool isApproximately(
  1. Angle other, {
  2. num percentVariance = 0.01,
})

Implementation

@override
bool isApproximately(Angle other, {num percentVariance = 0.01}) {
  return (other.degrees - degrees).abs() / degrees <= percentVariance;
}