fromDegrees static method

Angle fromDegrees(
  1. double degrees
)

Implementation

static Angle fromDegrees(double degrees) {
  return Angle.fromRadians(degrees * (_pi / 180));
}