Angle.degrees constructor Null safety

const Angle.degrees(
  1. double degrees
)

Create an angle defined by degrees. One full turn equals 360 degrees.

Implementation

const Angle.degrees(final double degrees)
    : _storage = degrees / 180.0 * math.pi;