Angle.fromDegrees constructor Null safety

  1. @Deprecated("Use Angle.degrees instead")
const Angle.fromDegrees(
  1. double degrees
)

Implementation

@Deprecated("Use Angle.degrees instead")
const Angle.fromDegrees(final double degrees)
    : _storage = degrees / 180.0 * math.pi;