Angle.fromTurns constructor Null safety

  1. @Deprecated("Use Angle.turns instead")
const Angle.fromTurns(
  1. double turns
)

Implementation

@Deprecated("Use Angle.turns instead")
const Angle.fromTurns(final double turns) : _storage = turns * 2.0 * math.pi;