hingeAngleDegrees property
double?
get
hingeAngleDegrees
hingeAngle converted to degrees, or null when there is no angle.
0° is shut and 180° is flat, though the device's real range is narrower.
Implementation
double? get hingeAngleDegrees =>
hingeAngle == null ? null : hingeAngle! * 180.0 / math.pi;